add Autostart all service

This commit is contained in:
2025-12-26 15:51:34 -03:00
parent 1b12d51cde
commit f557a1b2e9

View File

@@ -17,7 +17,7 @@ services:
- backend-net - backend-net
restart: unless-stopped restart: unless-stopped
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"] test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 5
@@ -36,6 +36,7 @@ services:
condition: service_healthy condition: service_healthy
networks: networks:
- backend-net - backend-net
restart: unless-stopped
volumes: volumes:
- ./backend:/app - ./backend:/app
- /app/node_modules - /app/node_modules
@@ -73,6 +74,7 @@ services:
- "5173:5173" - "5173:5173"
networks: networks:
- backend-net - backend-net
restart: unless-stopped
volumes: volumes:
- ./frontend:/app - ./frontend:/app
- /app/node_modules - /app/node_modules