Add missing expose field to docker compose files (#124)

Signed-off-by: javi <javier@okteto.com>
This commit is contained in:
Javier López Barba 2021-04-30 22:29:16 +02:00 committed by GitHub
parent eece4feb98
commit 744ed86c55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 33 additions and 6 deletions

View File

@ -8,4 +8,6 @@ services:
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: example_123
expose:
- 1433
image: microsoft/mssql-server-linux

View File

@ -22,9 +22,11 @@ services:
restart: always
volumes:
- db_data:/var/lib/postgresql/data
expose:
- 5432
volumes:
db_data:
git_data:

View File

@ -21,6 +21,8 @@ services:
restart: always
volumes:
- db_data:/var/lib/postgresql/data
expose:
- 5432
volumes:
db_data:
nc_data:

View File

@ -21,6 +21,8 @@ services:
restart: always
networks:
- redisnet
expose:
- 6379
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
@ -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:

View File

@ -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

View File

@ -17,6 +17,8 @@ services:
environment:
- MYSQL_DATABASE=example
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
expose:
- 3306
proxy:
build: proxy
ports:

View File

@ -16,6 +16,8 @@ services:
environment:
- POSTGRES_DB=example
- POSTGRES_PASSWORD_FILE=/run/secrets/db-password
expose:
- 5432
proxy:
build: proxy

View File

@ -27,7 +27,8 @@ services:
networks:
- express-mongo
- react-express
expose:
- 3000
mongo:
container_name: mongo
restart: always
@ -36,6 +37,8 @@ services:
- ./data:/data/db
networks:
- express-mongo
expose:
- 27017
networks:
react-express:
express-mongo:

View File

@ -43,6 +43,9 @@ services:
- react-spring
depends_on:
- backend
expose:
- 3306
- 33060
volumes:
db-data: {}
secrets:

View File

@ -16,7 +16,9 @@ services:
environment:
- MYSQL_DATABASE=example
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
expose:
- 3306
- 33060
volumes:
db-data:
secrets:

View File

@ -20,6 +20,8 @@ services:
environment:
- POSTGRES_DB=example
- POSTGRES_PASSWORD_FILE=/run/secrets/db-password
expose:
- 5432
volumes:
db-data:
secrets:

View File

@ -11,6 +11,9 @@ services:
- MYSQL_DATABASE=wordpress
- MYSQL_USER=wordpress
- MYSQL_PASSWORD=wordpress
expose:
- 3306
- 33060
wordpress:
image: wordpress:latest
ports: