This commit is contained in:
Andras Bacsai 2023-09-26 16:27:48 +02:00
parent 8f54b51ecd
commit 6990c593a4

View File

@ -0,0 +1,27 @@
services:
fider:
image: getfider/fider:stable
environment:
BASE_URL: $SERVICE_FQDN_FIDER
DATABASE_URL: postgres://$SERVICE_USER_MYSQL:$SERVICE_PASSWORD_MYSQL@database:5432/fider?sslmode=disable
JWT_SECRET: $SERVICE_PASSWORD64_FIDER
EMAIL_NOREPLY: $EMAIL_NOREPLY
EMAIL_MAILGUN_API: $EMAIL_MAILGUN_API
EMAIL_MAILGUN_DOMAIN: $EMAIL_MAILGUN_DOMAIN
EMAIL_MAILGUN_REGION: $EMAIL_MAILGUN_REGION
EMAIL_SMTP_HOST: $EMAIL_SMTP_HOST
EMAIL_SMTP_PORT: $EMAIL_SMTP_PORT
EMAIL_SMTP_USERNAME: $EMAIL_SMTP_USERNAME
EMAIL_SMTP_PASSWORD: $EMAIL_SMTP_PASSWORD
EMAIL_SMTP_ENABLE_STARTTLS: $EMAIL_SMTP_ENABLE_STARTTLS
EMAIL_AWSSES_REGION: $EMAIL_AWSSES_REGION
EMAIL_AWSSES_ACCESS_KEY_ID: $EMAIL_AWSSES_ACCESS_KEY_ID
EMAIL_AWSSES_SECRET_ACCESS_KEY: $EMAIL_AWSSES_SECRET_ACCESS_KEY
database:
image: postgres:12
volumes:
- pg_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: $SERVICE_USER_MYSQL
POSTGRES_PASSWORD: $SERVICE_PASSWORD_MYSQL
POSTGRES_DB: ${POSTGRES_DB:-fider}