34 lines
663 B
YAML
34 lines
663 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
game-server:
|
|
build: ./game-server
|
|
container_name: kids-game-server
|
|
restart: unless-stopped
|
|
environment:
|
|
- NODE_ENV=production
|
|
- JELLYFIN_URL=http://jellyfin:8096
|
|
- JELLYFIN_API_KEY=${JELLYFIN_API_KEY}
|
|
- SESSION_SECRET=${SESSION_SECRET}
|
|
volumes:
|
|
- ./game-server/public:/app/public:ro
|
|
- offline-media:/app/public/offline:ro
|
|
networks:
|
|
- kids-net
|
|
ports:
|
|
- "3000:3000"
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: kids-redis
|
|
restart: unless-stopped
|
|
networks:
|
|
- kids-net
|
|
|
|
networks:
|
|
kids-net:
|
|
driver: bridge
|
|
|
|
volumes:
|
|
offline-media:
|