add Autostart all service
This commit is contained in:
@@ -17,7 +17,7 @@ services:
|
||||
- backend-net
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -36,6 +36,7 @@ services:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- backend-net
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- /app/node_modules
|
||||
@@ -45,7 +46,7 @@ services:
|
||||
build: ./alpr-service
|
||||
container_name: controlpatente-alpr
|
||||
ports:
|
||||
- "5001:5001" # Permite acceder al stream de video desde el nave
|
||||
- "5001:5001" # Permite acceder al stream de video desde el nave
|
||||
environment:
|
||||
- BACKEND_URL=http://backend:3000
|
||||
# On Mac, you usually cannot pass /dev/video0 directly.
|
||||
@@ -73,6 +74,7 @@ services:
|
||||
- "5173:5173"
|
||||
networks:
|
||||
- backend-net
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
|
||||
Reference in New Issue
Block a user