Skip to content

Commit

Permalink
Merge pull request #47 from hackerspace-ntnu/auto-deploy
Browse files Browse the repository at this point in the history
fix: docker network setup
  • Loading branch information
michaelbrusegard authored Sep 25, 2024
2 parents 12861cc + 6b1e7e6 commit d1988ca
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 d1988ca

Please sign in to comment.