Files
rg-website-cms/docker-compose.yml

42 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2025-08-08 13:45:12 -06:00
services:
rg-website-cms:
build: .
container_name: rg-website-cms
ports:
2025-08-15 13:15:28 -06:00
- "${PORT}:1337"
2025-08-08 13:45:12 -06:00
environment:
2025-08-15 13:15:28 -06:00
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}
2025-08-08 13:45:12 -06:00
APP_KEYS: ${APP_KEYS}
API_TOKEN_SALT: ${API_TOKEN_SALT}
ADMIN_JWT_SECRET: ${ADMIN_JWT_SECRET}
TRANSFER_TOKEN_SALT: ${TRANSFER_TOKEN_SALT}
2025-08-15 13:15:28 -06:00
JWT_SECRET: ${JWT_SECRET}
CORS_ORIGIN: ${CORS_ORIGIN}
2025-08-08 13:45:12 -06:00
volumes:
2025-08-15 13:15:28 -06:00
- strapi_uploads:/app/public/uploads
2025-08-08 13:45:12 -06:00
depends_on:
- postgres
postgres:
image: postgres:15-alpine
container_name: rg-website-cms-postgres
environment:
2025-08-08 15:41:22 -06:00
POSTGRES_DB: strapi
POSTGRES_USER: strapi
POSTGRES_PASSWORD: strapi
2025-08-08 13:45:12 -06:00
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- 5432:5432
2025-08-08 13:45:12 -06:00
volumes:
2025-08-15 13:15:28 -06:00
strapi_uploads:
2025-08-08 13:45:12 -06:00
postgres_data: