Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
hallmaster-postgres:
hallmaster-database:
image: postgres:16.8-alpine3.20
container_name: hallmaster-postgres
container_name: hallmaster-database
shm_size: 128mb
restart: unless-stopped
env_file:
Expand All @@ -20,12 +20,12 @@ services:

hallmaster-backend:
depends_on:
hallmaster-postgres:
hallmaster-database:
condition: service_healthy
image: hallmaster-backend
build:
context: .
dockerfile: packages/backend/Dockerfile
dockerfile: docker/backend.Dockerfile
container_name: hallmaster-backend
ports:
- "3000:3000"
Expand All @@ -36,6 +36,21 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw

hallmaster-frontend:
depends_on:
- hallmaster-backend
image: hallmaster-frontend
build:
context: .
dockerfile: docker/frontend.Dockerfile
container_name: hallmaster-frontend
ports:
- "4411:4411"
env_file:
- secrets/frontend/.env.production
networks:
- hallmaster-network

networks:
hallmaster-network:

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions secrets/frontend/.env.production.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
API_URL=http://localhost:3000
Loading