This commit is contained in:
Martin Garnica
2025-08-15 13:15:28 -06:00
parent ce7c0b6347
commit f59458c431

View File

@ -3,20 +3,24 @@ services:
build: .
container_name: rg-website-cms
ports:
- "1337:1337"
- "${PORT}:1337"
environment:
DATABASE_CLIENT: postgres
DATABASE_HOST: postgres
DATABASE_PORT: 5432
DATABASE_NAME: strapi
DATABASE_USERNAME: strapi
DATABASE_PASSWORD: strapi
DATABASE_CLIENT: ${DATABASE_CLIENT}
DATABASE_HOST: ${DATABASE_HOST}
DATABASE_PORT: ${DATABASE_PORT}
DATABASE_NAME: ${DATABASE_NAME}
DATABASE_USERNAME: ${DATABASE_USERNAME}
DATABASE_PASSWORD: ${DATABASE_PASSWORD}
DATABASE_SSL: ${DATABASE_SSL}
NODE_ENV: ${NODE_ENV}
APP_KEYS: ${APP_KEYS}
API_TOKEN_SALT: ${API_TOKEN_SALT}
ADMIN_JWT_SECRET: ${ADMIN_JWT_SECRET}
TRANSFER_TOKEN_SALT: ${TRANSFER_TOKEN_SALT}
JWT_SECRET: ${JWT_SECRET}
CORS_ORIGIN: ${CORS_ORIGIN}
volumes:
- strapi:/srv/app
- strapi_uploads:/app/public/uploads
depends_on:
- postgres
@ -31,5 +35,5 @@ services:
- postgres_data:/var/lib/postgresql/data
volumes:
strapi:
strapi_uploads:
postgres_data: