Compare commits

..

No commits in common. "1cdb34503d82470215f004c1aec1722cfb485c1e" and "48da0d7f95a3c2e28e50be6aa839151420d299ae" have entirely different histories.

3 changed files with 8 additions and 16 deletions

View file

@ -37,7 +37,7 @@ export LASTFM_API_SECRET={lastfm_api_secret}
## Docker Compose
`docker-compose.yaml` (folder paths need adjusting):
`docker-compose.yaml`:
```yaml
version: '3.8'
services:
@ -48,8 +48,7 @@ services:
- "3030:3030"
volumes:
- /home/jonas_jones/jonas_jones-api:/home/jonas_jones/jonas_jones-api
- /home/jonas_jones/.config/rclone/:/root/.config/rclone/
command: ["sh", "-c", "pacman -Syu --noconfirm --needed pkg-config openssl python3 python-pip rclone cargo && python3 -m venv api-venv && source api-venv/bin/activate && cd /home/jonas_jones/jonas_jones-api && pip install -r requirements.txt && /usr/bin/cargo run"]
command: ["sh", "-c", "pacman -Syu --noconfirm --needed pkg-config openssl python3 python-pip cargo && pip install -r requirements.txt && cd /home/jonas_jones/jonas_jones-api && /usr/bin/cargo run"]
```
run container:

View file

@ -1,11 +0,0 @@
version: '3.8'
services:
arch-linux:
image: archlinux:latest
container_name: jonas_jones-api
ports:
- "3030:3030"
volumes:
- /home/jonas_jones/jonas_jones-api:/home/jonas_jones/jonas_jones-api
- /home/jonas_jones/.config/rclone/:/root/.config/rclone/
command: ["sh", "-c", "pacman -Syu --noconfirm --needed pkg-config openssl python3 python-pip rclone cargo && python3 -m venv api-venv && source api-venv/bin/activate && cd /home/jonas_jones/jonas_jones-api && pip install -r requirements.txt && /usr/bin/cargo run"]

View file

@ -1,9 +1,13 @@
os
sys
json
time
requests
datetime
python-dotenv
spotipy
praw
re
spotipy
pylast
typing
markdown
typing