Add missing expose field to docker compose files (#124)
Signed-off-by: javi <javier@okteto.com>
This commit is contained in:
parent
eece4feb98
commit
744ed86c55
@ -8,4 +8,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
ACCEPT_EULA: "Y"
|
ACCEPT_EULA: "Y"
|
||||||
SA_PASSWORD: example_123
|
SA_PASSWORD: example_123
|
||||||
|
expose:
|
||||||
|
- 1433
|
||||||
image: microsoft/mssql-server-linux
|
image: microsoft/mssql-server-linux
|
||||||
|
@ -22,6 +22,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db_data:/var/lib/postgresql/data
|
- db_data:/var/lib/postgresql/data
|
||||||
|
expose:
|
||||||
|
- 5432
|
||||||
volumes:
|
volumes:
|
||||||
db_data:
|
db_data:
|
||||||
git_data:
|
git_data:
|
||||||
|
@ -21,6 +21,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db_data:/var/lib/postgresql/data
|
- db_data:/var/lib/postgresql/data
|
||||||
|
expose:
|
||||||
|
- 5432
|
||||||
volumes:
|
volumes:
|
||||||
db_data:
|
db_data:
|
||||||
nc_data:
|
nc_data:
|
||||||
|
@ -21,6 +21,8 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- redisnet
|
- redisnet
|
||||||
|
expose:
|
||||||
|
- 6379
|
||||||
db:
|
db:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||||
@ -34,12 +36,11 @@ services:
|
|||||||
- MYSQL_USER=nextcloud
|
- MYSQL_USER=nextcloud
|
||||||
- MYSQL_ROOT_PASSWORD=nextcloud
|
- MYSQL_ROOT_PASSWORD=nextcloud
|
||||||
- MYSQL_PASSWORD=nextcloud
|
- MYSQL_PASSWORD=nextcloud
|
||||||
|
expose:
|
||||||
|
- 3306
|
||||||
volumes:
|
volumes:
|
||||||
db_data:
|
db_data:
|
||||||
nc_data:
|
nc_data:
|
||||||
networks:
|
networks:
|
||||||
dbnet:
|
dbnet:
|
||||||
redisnet:
|
redisnet:
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -13,6 +13,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- MYSQL_DATABASE=example
|
- MYSQL_DATABASE=example
|
||||||
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
|
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
|
||||||
|
expose:
|
||||||
|
- 3306
|
||||||
|
- 33060
|
||||||
backend:
|
backend:
|
||||||
build: backend
|
build: backend
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -17,6 +17,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- MYSQL_DATABASE=example
|
- MYSQL_DATABASE=example
|
||||||
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
|
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
|
||||||
|
expose:
|
||||||
|
- 3306
|
||||||
proxy:
|
proxy:
|
||||||
build: proxy
|
build: proxy
|
||||||
ports:
|
ports:
|
||||||
|
@ -16,6 +16,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=example
|
- POSTGRES_DB=example
|
||||||
- POSTGRES_PASSWORD_FILE=/run/secrets/db-password
|
- POSTGRES_PASSWORD_FILE=/run/secrets/db-password
|
||||||
|
expose:
|
||||||
|
- 5432
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: proxy
|
build: proxy
|
||||||
|
@ -27,7 +27,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- express-mongo
|
- express-mongo
|
||||||
- react-express
|
- react-express
|
||||||
|
expose:
|
||||||
|
- 3000
|
||||||
mongo:
|
mongo:
|
||||||
container_name: mongo
|
container_name: mongo
|
||||||
restart: always
|
restart: always
|
||||||
@ -36,6 +37,8 @@ services:
|
|||||||
- ./data:/data/db
|
- ./data:/data/db
|
||||||
networks:
|
networks:
|
||||||
- express-mongo
|
- express-mongo
|
||||||
|
expose:
|
||||||
|
- 27017
|
||||||
networks:
|
networks:
|
||||||
react-express:
|
react-express:
|
||||||
express-mongo:
|
express-mongo:
|
||||||
|
@ -43,6 +43,9 @@ services:
|
|||||||
- react-spring
|
- react-spring
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
|
expose:
|
||||||
|
- 3306
|
||||||
|
- 33060
|
||||||
volumes:
|
volumes:
|
||||||
db-data: {}
|
db-data: {}
|
||||||
secrets:
|
secrets:
|
||||||
|
@ -16,7 +16,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- MYSQL_DATABASE=example
|
- MYSQL_DATABASE=example
|
||||||
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
|
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db-password
|
||||||
|
expose:
|
||||||
|
- 3306
|
||||||
|
- 33060
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
secrets:
|
secrets:
|
||||||
|
@ -20,6 +20,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=example
|
- POSTGRES_DB=example
|
||||||
- POSTGRES_PASSWORD_FILE=/run/secrets/db-password
|
- POSTGRES_PASSWORD_FILE=/run/secrets/db-password
|
||||||
|
expose:
|
||||||
|
- 5432
|
||||||
volumes:
|
volumes:
|
||||||
db-data:
|
db-data:
|
||||||
secrets:
|
secrets:
|
||||||
|
@ -11,6 +11,9 @@ services:
|
|||||||
- MYSQL_DATABASE=wordpress
|
- MYSQL_DATABASE=wordpress
|
||||||
- MYSQL_USER=wordpress
|
- MYSQL_USER=wordpress
|
||||||
- MYSQL_PASSWORD=wordpress
|
- MYSQL_PASSWORD=wordpress
|
||||||
|
expose:
|
||||||
|
- 3306
|
||||||
|
- 33060
|
||||||
wordpress:
|
wordpress:
|
||||||
image: wordpress:latest
|
image: wordpress:latest
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
Reference in New Issue
Block a user