diff --git a/docker-compose.yml b/docker-compose.yml index 30d5f1c..0936661 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,8 +11,8 @@ services: volumes: - db-data:/var/lib/postgresql/data - ./init.sql:/docker-entrypoint-initdb.d/init.sql - ports: - - "9899:5432" + networks: + - nymeria-network app: container_name: nymeria-app build: . @@ -20,7 +20,12 @@ services: - "9898:9898" depends_on: - db + networks: + - nymeria-network volumes: db-data: name: nymeria-db + +networks: + nymeria-network: