Skip to content

Commit

Permalink
Use backend sync+restart
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Jun 11, 2024
1 parent b597c3e commit 0c039e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ services:
depends_on:
migrations:
condition: service_started
# Deployment uses Distroless, which doesn't work fully with WATCH
develop:
watch:
- action: sync
- action: sync+restart
path: ./backend
target: /app
ignore:
Expand All @@ -70,6 +71,7 @@ services:
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api"]
working_dir: "/app"
volumes: ["./backend:/app", "/app/node_modules"]

frontend:
container_name: frontend
Expand Down

0 comments on commit 0c039e5

Please sign in to comment.