customer-riverside/docker-compose.yml

41 lines
1 KiB
YAML
Raw Normal View History

2026-04-19 20:33:56 -08:00
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:80"
environment:
DB_HOST: postgres
DB_NAME: drupal
DB_USER: drupal
DB_PASS: drupal
2026-05-14 20:23:54 -08:00
SITE_NAME: "Riverside Therapeutics"
2026-04-19 20:33:56 -08:00
ADMIN_PASS: "${ADMIN_PASS:-admin}"
HASH_SALT: "${HASH_SALT:-replace-this-in-production-with-a-long-random-string}"
2026-05-13 13:55:52 -08:00
POSTMARK_API_KEY: "${POSTMARK_API_KEY:-}"
2026-04-19 20:33:56 -08:00
volumes:
- ./web/sites/default/files:/var/www/html/web/sites/default/files
depends_on:
postgres:
condition: service_healthy
restart: unless-stopped
postgres:
image: postgres:18-alpine
environment:
POSTGRES_DB: drupal
POSTGRES_USER: drupal
POSTGRES_PASSWORD: drupal
volumes:
- ./docker/postgres/init.sql:/docker-entrypoint-initdb.d/init.sql:ro
2026-05-12 16:28:47 -08:00
- postgres_data:/var/lib/postgresql/data
2026-04-19 20:33:56 -08:00
healthcheck:
test: ["CMD-SHELL", "pg_isready -U drupal -d drupal"]
interval: 5s
timeout: 5s
retries: 20
2026-05-12 16:28:47 -08:00
volumes:
postgres_data: