Skip to content

Commit

Permalink
Merge pull request #48 from hackerspace-ntnu/dev
Browse files Browse the repository at this point in the history
Beta url should work after this
  • Loading branch information
michaelbrusegard authored Sep 25, 2024
2 parents 0b2585d + d1988ca commit 2633448
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
services:
app:
depends_on:
- db
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
depends_on:
- db
- s3
restart: unless-stopped
networks:
- nginx_default
db:
image: postgres:16
restart: unless-stopped
environment:
POSTGRES_USER: ${DATABASE_USER}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_DB: ${DATABASE_NAME}
volumes:
- ./data/db:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: unless-stopped
s3:
image: bitnami/minio:2024
restart: unless-stopped
environment:
MINIO_ROOT_USER: ${STORAGE_USER}
MINIO_ROOT_PASSWORD: ${STORAGE_PASSWORD}
MINIO_DEFAULT_BUCKETS: ${STORAGE_NAME}
volumes:
- ./data/s3:/bitnami/minio/data
ports:
- "9000:9000"
restart: unless-stopped
networks:
nginx_default:
external: true

0 comments on commit 2633448

Please sign in to comment.