update compose

This commit is contained in:
MaKarin
2026-04-04 19:49:11 +03:00
parent 89fa65d6c6
commit fed445df7a

View File

@@ -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