Skip to content

Commit

Permalink
fix: docker network setup
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Sep 25, 2024
1 parent adb209d commit 6b1e7e6
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
services:
web:
app:
build:
context: .
dockerfile: Dockerfile
Expand All @@ -8,8 +8,7 @@ services:
- s3
restart: unless-stopped
networks:
- web
- nginx
- nginx_default
db:
image: postgres:16
restart: unless-stopped
Expand All @@ -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
Expand All @@ -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

0 comments on commit 6b1e7e6

Please sign in to comment.