Патч
This commit is contained in:
@ -8,13 +8,14 @@ x-app-common: &app-common
|
||||
restart: unless-stopped
|
||||
stop_signal: SIGINT
|
||||
env_file:
|
||||
- .env
|
||||
- .test.env
|
||||
environment:
|
||||
DATABASE_URL: "postgresql://postgres:example@db:5432/postgres"
|
||||
REDIS_URL: "redis://valkey:6379/0"
|
||||
volumes:
|
||||
- "./container/certt.cer:/var/opt/cprocsp/keys/cert.cer"
|
||||
- "./container/cont:/app/cont"
|
||||
# - "./container/certt.cer:/var/opt/cprocsp/keys/cert.cer"
|
||||
- "./container/test.cer:/var/opt/cprocsp/keys/cert.cer"
|
||||
- "./container/cont2:/app/cont"
|
||||
|
||||
services:
|
||||
valkey:
|
||||
@ -28,6 +29,21 @@ services:
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
|
||||
db:
|
||||
image: postgres:17.2-alpine
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${POSTGRES_PORT:-5432}:5432
|
||||
environment:
|
||||
POSTGRES_PASSWORD: example
|
||||
volumes:
|
||||
- "${POSTGRES_DATA:-./postgres}:/var/lib/postgresql/data/"
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
|
||||
interval: 5s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
|
||||
web:
|
||||
<<: *app-common
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user