free-games-claimer/docker-compose.yml
nocci b14530537a
Some checks failed
build-and-push / lint (push) Failing after 8s
build-and-push / sonar (push) Has been skipped
build-and-push / docker (push) Has been skipped
refactor(config): add network configuration and dependencies for inter-service communication
- Configure flaresolverr and free-games-claimer to use a shared bridge network
- Explicitly set container name for flaresolverr and declare network dependency
- Define custom bridge network `fgc-network` for isolating service communication

This ensures services can reliably communicate over Docker's internal DNS while maintaining network separation from other containers.
2026-03-08 13:22:01 +00:00

42 lines
1 KiB
YAML

# start with `docker compose up`
services:
flaresolverr:
container_name: flaresolverr
image: flaresolverr/flaresolverr:latest
ports:
- "8191:8191"
environment:
- LOG_LEVEL=info
- LOG_HTML=false
- CAPTCHA_SOLVER=none
restart: unless-stopped
networks:
- fgc-network
free-games-claimer:
container_name: fgc # is printed in front of every output line
image: ghcr.io/vogler/free-games-claimer # otherwise image name will be free-games-claimer-free-games-claimer
build: .
ports:
# - "5900:5900" # VNC server
- "6080:6080" # noVNC (browser-based VNC client)
volumes:
- fgc:/fgc/data
# command: bash -c "node epic-games; node gog"
command: node epic-games
environment:
# - EMAIL=foo@bar.org
# - NOTIFY='tgram://...'
- EG_MODE=new
- FLARESOLVERR_URL=http://flaresolverr:8191/v1
networks:
- fgc-network
depends_on:
- flaresolverr
networks:
fgc-network:
driver: bridge
volumes:
fgc: