update CI/CD with compose
Some checks failed
Deploy Backend / deploy (push) Failing after 18s

This commit is contained in:
2026-04-26 17:56:07 +02:00
parent 4af947b440
commit 6e1ad80f33
2 changed files with 28 additions and 12 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
services:
backend:
build: .
image: poster-picker-backend:latest
environment:
- FLASK_ENV=production
- TMDB_API_KEY=${TMDB_API_KEY}
- TMDB_ACCESS_TOKEN=${TMDB_ACCESS_TOKEN}
- SECRET_KEY=${SECRET_KEY}
expose:
- "5000"
restart: unless-stopped
networks:
- poster-picker
networks:
poster-picker:
external: true