Skip to content

Commit

Permalink
Merge pull request #6 from leojonathanoh/docs/add-comments-in-docker-…
Browse files Browse the repository at this point in the history
…compose.example.yml

Docs: Add comments in docker-compose.example.yml
  • Loading branch information
leojonathanoh authored Sep 28, 2022
2 parents dba2d40 + 2534470 commit 8fb3de1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker-compose.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ services:
nginx:
image: leojonathanoh/asp:nginx
volumes:
- ./config/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./config/nginx/nginx.conf:/etc/nginx/nginx.conf:ro # Override if needed
ports:
- 80:80
networks:
Expand Down Expand Up @@ -75,8 +75,8 @@ services:
# - MARIADB_PASSWORD=unused
- MARIADB_DATABASE=bf2stats
volumes:
- ./src/ASP/system/sql/schema.sql:/docker-entrypoint-initdb.d/01-schema.sql:ro # Seed the database on the first time. No need to use the dashboard installer.
- ./src/ASP/system/sql/data.sql:/docker-entrypoint-initdb.d/02-data.sql:ro # Seed the database on the first time. No need to use the dashboard installer.
- ./src/ASP/system/sql/schema.sql:/docker-entrypoint-initdb.d/01-schema.sql:ro # Seed the database on the first run. No need to use the dashboard installer.
- ./src/ASP/system/sql/data.sql:/docker-entrypoint-initdb.d/02-data.sql:ro # Seed the database on the first run. No need to use the dashboard installer.
- db-volume:/var/lib/mysql
networks:
- default
Expand All @@ -87,6 +87,7 @@ services:
phpmyadmin:
image: phpmyadmin:5.2-fpm-alpine
environment:
# - PMA_ABSOLUTE_URI=https://phpmyadmin.example.com # Enable this if behind a reverse proxy
- PMA_HOST=db
ports:
- 8080:80
Expand Down

0 comments on commit 8fb3de1

Please sign in to comment.