A kind of initial commit

This commit is contained in:
heboba
2026-02-26 19:33:05 +00:00
commit 9ab125b1a6
37 changed files with 3053 additions and 0 deletions

43
docker-compose.yml Normal file
View File

@@ -0,0 +1,43 @@
services:
app:
build: .
container_name: spotify-vibe-bot-app
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.docker.network=web
- traefik.http.routers.spotify-vibe.rule=Host(`${TRAEFIK_HOSTNAME}`)
- traefik.http.routers.spotify-vibe.entrypoints=websecure
- traefik.http.routers.spotify-vibe.tls.certresolver=letsencrypt
- traefik.http.services.spotify-vibe.loadbalancer.server.port=8000
ports:
- "${APP_PORT:-8000}:8000"
env_file:
- .env
environment:
TZ: "${TZ:-UTC}"
volumes:
- ./data:/data
command: ["/app/scripts/start_app.sh"]
networks:
- default
- web
cron:
profiles: ["cron"]
build: .
container_name: spotify-vibe-bot-cron
restart: unless-stopped
depends_on:
- app
env_file:
- .env
environment:
TZ: "${TZ:-UTC}"
command: ["/app/scripts/start_cron.sh"]
networks:
- default
networks:
web:
external: true