Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs (docker): Add comma-delimited examples for env vars which expect array value #75

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ services:
- DB_NAME=bf2stats
- DB_USER=root
- DB_PASS=ascent
- ADMIN_HOSTS=127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Limit admins to private IPs
- DEBUG_LVL=4
volumes:
- ./src/ASP:/src/ASP
- backups-volume:/src/ASP/system/backups # This volume is effectively unused since ASP doesn't allow DB backups for a remote DB, but mount it anyway to avoid errors.
Expand Down
2 changes: 2 additions & 0 deletions docs/full-bf2-stack-example/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ services:
- DB_NAME=bf2stats
- DB_USER=root
- DB_PASS=ascent
- ADMIN_HOSTS=127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Limit admins to private IPs
- DEBUG_LVL=4
# ports:
# - 8081:80
volumes:
Expand Down
4 changes: 3 additions & 1 deletion docs/upgrading-docker-images-to-3.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ To this:
asp:
image: startersclan/bf2stats:3.3.0
environment:
# See ./src/ASP/system/config/config.php for all supported env vars
# See ./src/ASP/system/config/config.php for all supported env vars. Use comma-delimited value for array
- DB_HOST=db
- DB_PORT=3306
- DB_NAME=bf2stats
- DB_USER=root
- DB_PASS=ascent
- ADMIN_HOSTS=127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Limit admins to private IPs
- DEBUG_LVL=4
volumes:
- backups-volume:/src/ASP/system/backups # This volume is effectively unused since ASP doesn't allow DB backups for a remote DB, but mount it anyway to avoid errors.
- cache-volume:/src/ASP/system/cache
Expand Down