renamed docker services

This commit is contained in:
2026-05-14 08:27:02 +02:00
parent 38f33cacb1
commit fb92b3ff66
+8 -3
View File
@@ -1,5 +1,8 @@
name: elas-atelier
services: services:
backend: backend:
container_name: elas-atelier-backend
build: build:
context: ./backend context: ./backend
dockerfile: Dockerfile dockerfile: Dockerfile
@@ -17,7 +20,7 @@ services:
- RUST_LOG=${RUST_LOG:-info} - RUST_LOG=${RUST_LOG:-info}
restart: unless-stopped restart: unless-stopped
networks: networks:
- internal_net - atelier_net
healthcheck: healthcheck:
test: ["CMD", "curl", "-fsS", "http://localhost:3000/healthz"] test: ["CMD", "curl", "-fsS", "http://localhost:3000/healthz"]
interval: 15s interval: 15s
@@ -31,6 +34,7 @@ services:
max-file: "3" max-file: "3"
frontend: frontend:
container_name: elas-atelier-frontend
build: build:
context: ./frontend context: ./frontend
dockerfile: Dockerfile dockerfile: Dockerfile
@@ -43,7 +47,7 @@ services:
condition: service_healthy condition: service_healthy
restart: unless-stopped restart: unless-stopped
networks: networks:
- internal_net - atelier_net
logging: logging:
driver: json-file driver: json-file
options: options:
@@ -51,5 +55,6 @@ services:
max-file: "3" max-file: "3"
networks: networks:
internal_net: atelier_net:
name: elas-atelier-net
driver: bridge driver: bridge