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