Remove ports mapping for internal docker network

This commit is contained in:
Hubert Van De Walle 2020-05-01 16:45:50 +02:00
parent 9c84e69ed0
commit 81f284e0b5

View File

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