Remove ports mapping for internal docker network
This commit is contained in:
parent
9c84e69ed0
commit
81f284e0b5
@ -20,12 +20,6 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- api
|
- api
|
||||||
|
|
||||||
certbot:
|
|
||||||
image: certbot/certbot
|
|
||||||
volumes:
|
|
||||||
- ./data/certbot/conf:/etc/letsencrypt
|
|
||||||
- ./data/certbot/www:/var/www/certbot
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
container_name: notes-mariadb
|
container_name: notes-mariadb
|
||||||
@ -35,9 +29,6 @@ services:
|
|||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Europe/Brussels
|
- TZ=Europe/Brussels
|
||||||
ports:
|
|
||||||
# This is only for testing
|
|
||||||
- 3306:3306
|
|
||||||
volumes:
|
volumes:
|
||||||
- notes-db-volume:/var/lib/mysql
|
- notes-db-volume:/var/lib/mysql
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@ -49,9 +40,6 @@ services:
|
|||||||
api:
|
api:
|
||||||
build: ./api
|
build: ./api
|
||||||
container_name: notes-api
|
container_name: notes-api
|
||||||
ports:
|
|
||||||
# This is only for testing
|
|
||||||
- 8081:8081
|
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user