update docker-compose.yml
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
POSTGRES_USER=postgres
|
POSTGRES_USER=postgres
|
||||||
POSTGRES_PASSWORD=change-me
|
POSTGRES_PASSWORD=change-me
|
||||||
POSTGRES_DB=toir
|
POSTGRES_DB=toir
|
||||||
POSTGRES_PORT=5432
|
|
||||||
|
|
||||||
CORS_ALLOWED_ORIGINS=https://toir.example.ru
|
CORS_ALLOWED_ORIGINS=https://toir.example.ru
|
||||||
|
|
||||||
KEYCLOAK_ISSUER_URL=https://sso.example.ru/realms/toir
|
KEYCLOAK_ISSUER_URL=https://sso.example.ru/realms/toir
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
container_name: toir-light-postgres
|
container_name: toir-light-postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -17,13 +17,12 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
ports:
|
|
||||||
- "${POSTGRES_PORT:-5432}:5432"
|
|
||||||
volumes:
|
volumes:
|
||||||
- postgres-data:/var/lib/postgresql/data
|
- postgres-data:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- toir-light
|
- toir-light
|
||||||
|
|
||||||
|
|
||||||
server:
|
server:
|
||||||
build:
|
build:
|
||||||
context: ./server
|
context: ./server
|
||||||
|
|||||||
Reference in New Issue
Block a user