prod changes
This commit is contained in:
@@ -8,7 +8,12 @@ services:
|
||||
- .env.production
|
||||
environment:
|
||||
DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
|
||||
JWT_SECRET: "${JWT_SECRET:?JWT_SECRET must be set}"
|
||||
OAUTH_CLIENT_SECRET: "${OAUTH_CLIENT_SECRET:?OAUTH_CLIENT_SECRET must be set}"
|
||||
SMTP_PASSWORD: "${SMTP_PASSWORD:?SMTP_PASSWORD must be set}"
|
||||
ADMIN_PASSWORD: "${ADMIN_PASSWORD:?ADMIN_PASSWORD must be set}"
|
||||
volumes:
|
||||
- ./config:/usr/app/config:ro
|
||||
- kompress_eshop_data:/usr/app/data
|
||||
networks:
|
||||
- kompress_eshop-net
|
||||
@@ -22,6 +27,7 @@ services:
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
command: ["start"]
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
|
||||
Reference in New Issue
Block a user