Last active
April 7, 2025 20:45
-
-
Save zefanjajobse/9cf3aef430f8ca9f709e5bc8b2ee7729 to your computer and use it in GitHub Desktop.
docker_compose file previously used for bfban
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| bfban: | |
| image: ghcr.io/bfban/bfban-website/bfbanv2-backend:latest | |
| restart: always | |
| ports: | |
| - target: 4002 | |
| published: 4002 | |
| protocol: tcp | |
| mode: host | |
| volumes: | |
| - /var/www/bfban-config/config.js:/usr/src/app/config.js | |
| - /var/www/bfban-config/eaApiConfig.json:/usr/src/app/services/eaAPI/config.json | |
| - /var/www/bfban-config/msGraphApiConfig.json:/usr/src/app/services/msGraphAPI/config.json | |
| - /var/www/bfban-config/tokenCache.json:/usr/src/app/services/msGraphAPI/tokenCache.json | |
| healthcheck: | |
| test: curl --fail -s http://localhost:4002/api/players || exit 1 | |
| interval: "30s" | |
| timeout: "30s" | |
| start_period: "30s" | |
| retries: 3 | |
| bfban-frontend: | |
| image: ghcr.io/bfban/bfban-website/bfbanv2-frontend:latest | |
| restart: always | |
| ports: | |
| - target: 80 | |
| published: 4003 | |
| protocol: tcp | |
| mode: host | |
| healthcheck: | |
| test: curl --fail -s http://localhost:80 || exit 1 | |
| interval: "30s" | |
| timeout: "30s" | |
| start_period: "30s" | |
| retries: 3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment