chore(cd): hardening of env settings
This commit is contained in:
@@ -3,7 +3,8 @@ services:
|
||||
image: postgres:16
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
- /etc/socialize/socialize.env
|
||||
- .deploy.env
|
||||
environment:
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
@@ -22,7 +23,20 @@ services:
|
||||
image: git.mapachotes.com/jbourdon/socialize-api:${SOCIALIZE_IMAGE_TAG}
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
- /etc/socialize/socialize.env
|
||||
- .deploy.env
|
||||
environment:
|
||||
ASPNETCORE_ENVIRONMENT: ${ASPNETCORE_ENVIRONMENT}
|
||||
ASPNETCORE_URLS: ${ASPNETCORE_URLS}
|
||||
ConnectionStrings__PostgresConnection: Host=${POSTGRES_HOST};Port=${POSTGRES_PORT};Database=${POSTGRES_DB};Username=${POSTGRES_USER};Password=${POSTGRES_PASSWORD}
|
||||
Website__FrontendBaseUrl: ${WEBSITE_FRONTEND_BASE_URL}
|
||||
Emailer__ApiKey: ${RESEND_API_KEY}
|
||||
Emailer__FromEmail: ${RESEND_FROM_EMAIL}
|
||||
Authentication__Jwt__Issuer: ${JWT_ISSUER}
|
||||
Authentication__Jwt__Audience: ${JWT_AUDIENCE}
|
||||
Authentication__Jwt__Key: ${JWT_SIGNING_KEY}
|
||||
Authentication__Jwt__Lifetime: ${JWT_LIFETIME}
|
||||
Authentication__Jwt__RefreshTokenLifetime: ${JWT_REFRESH_TOKEN_LIFETIME}
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user