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