Skip to content

Commit

Permalink
Merge pull request #54 from thewulf7/docker-patch-1
Browse files Browse the repository at this point in the history
Fixing docker image for backend service and grouping them in network
  • Loading branch information
chamikaJ authored Oct 25, 2024
2 parents a8e9ad6 + 276d241 commit 136dd5c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ services:
depends_on:
backend:
condition: service_started
networks:
- worklenz

backend:
image: ghcr.io/worklenz/worklenz-frontend
image: ghcr.io/worklenz/worklenz-backend
build:
context: ./worklenz-backend
dockerfile: Dockerfile
Expand Down Expand Up @@ -54,6 +56,8 @@ services:
- S3_URL
- S3_ACCESS_KEY_ID
- S3_SECRET_ACCESS_KEY
networks:
- worklenz

db:
image: postgres:15
Expand All @@ -66,6 +70,8 @@ services:
interval: 10s
timeout: 5s
retries: 5
networks:
- worklenz
volumes:
- worklenz_postgres_data:/var/lib/postgresql/data
- ./worklenz-backend/database/:/docker-entrypoint-initdb.d
Expand Down

0 comments on commit 136dd5c

Please sign in to comment.