From 6b1e7e667208fa0d736110ec60a2d8976f26b754 Mon Sep 17 00:00:00 2001 From: Michael Brusegard <56915010+michaelbrusegard@users.noreply.github.com> Date: Wed, 25 Sep 2024 02:30:55 +0200 Subject: [PATCH] fix: docker network setup --- docker-compose.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 039b42d..a1db8f2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ services: - web: + app: build: context: . dockerfile: Dockerfile @@ -8,8 +8,7 @@ services: - s3 restart: unless-stopped networks: - - web - - nginx + - nginx_default db: image: postgres:16 restart: unless-stopped @@ -19,8 +18,6 @@ services: POSTGRES_DB: ${DATABASE_NAME} volumes: - ./data/db:/var/lib/postgresql/data - networks: - - web s3: image: bitnami/minio:2024 restart: unless-stopped @@ -30,10 +27,6 @@ services: MINIO_DEFAULT_BUCKETS: ${STORAGE_NAME} volumes: - ./data/s3:/bitnami/minio/data - networks: - - web networks: - web: - driver: bridge - nginx: + nginx_default: external: true