Skip to content

Commit

Permalink
Add missing expose field to docker compose files (docker#124)
Browse files Browse the repository at this point in the history
Signed-off-by: javi <[email protected]>
  • Loading branch information
jLopezbarb authored Apr 30, 2021
1 parent eece4fe commit 744ed86
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 6 deletions.
2 changes: 2 additions & 0 deletions aspnet-mssql/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ services:
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: example_123
expose:
- 1433
image: microsoft/mssql-server-linux
4 changes: 3 additions & 1 deletion gitea-postgres/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ services:
restart: always
volumes:
- db_data:/var/lib/postgresql/data
expose:
- 5432
volumes:
db_data:
git_data:




2 changes: 2 additions & 0 deletions nextcloud-postgres/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ services:
restart: always
volumes:
- db_data:/var/lib/postgresql/data
expose:
- 5432
volumes:
db_data:
nc_data:
7 changes: 4 additions & 3 deletions nextcloud-redis-mariadb/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ services:
restart: always
networks:
- redisnet
expose:
- 6379
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
Expand All @@ -34,12 +36,11 @@ services:
- MYSQL_USER=nextcloud
- MYSQL_ROOT_PASSWORD=nextcloud
- MYSQL_PASSWORD=nextcloud
expose:
- 3306
volumes:
db_data:
nc_data:
networks:
dbnet:
redisnet:



3 changes: 3 additions & 0 deletions nginx-flask-mysql/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ services:
environment:
- MYSQL_DATABASE=example
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
expose:
- 3306
- 33060
backend:
build: backend
restart: always
Expand Down
2 changes: 2 additions & 0 deletions nginx-golang-mysql/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ services:
environment:
- MYSQL_DATABASE=example
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
expose:
- 3306
proxy:
build: proxy
ports:
Expand Down
2 changes: 2 additions & 0 deletions nginx-golang-postgres/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ services:
environment:
- POSTGRES_DB=example
- POSTGRES_PASSWORD_FILE=/run/secrets/db-password
expose:
- 5432

proxy:
build: proxy
Expand Down
5 changes: 4 additions & 1 deletion react-express-mongodb/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ services:
networks:
- express-mongo
- react-express

expose:
- 3000
mongo:
container_name: mongo
restart: always
Expand All @@ -36,6 +37,8 @@ services:
- ./data:/data/db
networks:
- express-mongo
expose:
- 27017
networks:
react-express:
express-mongo:
3 changes: 3 additions & 0 deletions react-java-mysql/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ services:
- react-spring
depends_on:
- backend
expose:
- 3306
- 33060
volumes:
db-data: {}
secrets:
Expand Down
4 changes: 3 additions & 1 deletion sparkjava-mysql/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ services:
environment:
- MYSQL_DATABASE=example
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password

expose:
- 3306
- 33060
volumes:
db-data:
secrets:
Expand Down
2 changes: 2 additions & 0 deletions spring-postgres/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ services:
environment:
- POSTGRES_DB=example
- POSTGRES_PASSWORD_FILE=/run/secrets/db-password
expose:
- 5432
volumes:
db-data:
secrets:
Expand Down
3 changes: 3 additions & 0 deletions wordpress-mysql/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ services:
- MYSQL_DATABASE=wordpress
- MYSQL_USER=wordpress
- MYSQL_PASSWORD=wordpress
expose:
- 3306
- 33060
wordpress:
image: wordpress:latest
ports:
Expand Down

0 comments on commit 744ed86

Please sign in to comment.