Edit docker-compose.yml

This commit is contained in:
Mireya
2026-05-12 11:06:19 +00:00
parent 35bfc889d0
commit d0a3d445e1
+3 -3
View File
@@ -5,7 +5,7 @@ services:
container_name: orcid-backend container_name: orcid-backend
restart: unless-stopped restart: unless-stopped
ports: ports:
- "127.0.0.1:8072:8000" - "0.0.0.0:8072:8000"
env_file: env_file:
- ./backend/.env - ./backend/.env
environment: environment:
@@ -25,7 +25,7 @@ services:
security_opt: security_opt:
- no-new-privileges:true - no-new-privileges:true
healthcheck: healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8000/health"] test: ["CMD", "curl", "-fsS", "http://0.0.0.0:8000/health"]
interval: 30s interval: 30s
timeout: 5s timeout: 5s
retries: 3 retries: 3
@@ -36,7 +36,7 @@ services:
container_name: orcid-frontend container_name: orcid-frontend
restart: unless-stopped restart: unless-stopped
ports: ports:
- "127.0.0.1:8073:5173" - "0.0.0.0:8073:5173"
depends_on: depends_on:
- backend - backend
env_file: env_file: