diff --git a/docker-compose.yml b/docker-compose.yml index ae3cffe..fd7afa9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ services: postgres: image: postgres:16 - container_name: toir-light-postgres + container_name: toir-postgres restart: unless-stopped environment: POSTGRES_USER: ${POSTGRES_USER:-postgres} @@ -20,13 +20,13 @@ services: volumes: - postgres-data:/var/lib/postgresql/data networks: - - toir-light + - toir server: build: context: ./server dockerfile: Dockerfile - container_name: toir-light-server + container_name: toir-server restart: unless-stopped depends_on: postgres: @@ -53,7 +53,7 @@ services: expose: - "3000" networks: - - toir-light + - toir - proxy client: @@ -65,7 +65,7 @@ services: VITE_KEYCLOAK_URL: ${VITE_KEYCLOAK_URL:-https://sso.greact.ru} VITE_KEYCLOAK_REALM: ${VITE_KEYCLOAK_REALM:-toir} VITE_KEYCLOAK_CLIENT_ID: ${VITE_KEYCLOAK_CLIENT_ID:-toir-frontend} - container_name: toir-light-client + container_name: toir-client restart: unless-stopped depends_on: server: @@ -81,14 +81,14 @@ services: expose: - "80" networks: - - toir-light + - toir - proxy volumes: postgres-data: networks: - toir-light: + toir: driver: bridge proxy: external: true