34 lines
869 B
YAML
34 lines
869 B
YAML
services:
|
|
treadl:
|
|
image: wilw/treadl:latest
|
|
ports:
|
|
- "8080:80"
|
|
environment:
|
|
# App settings
|
|
- JWT_SECRET=secret # Change this to a secure secret
|
|
- APP_URL=http://example.com
|
|
- APP_DOMAIN=example.com
|
|
- APP_NAME=Treadl
|
|
|
|
# MongoDB connection
|
|
- MONGO_URL=mongodb://mongo:27017/treadl
|
|
- MONGO_DATABASE=treadl
|
|
|
|
# Mailgun email settings
|
|
- MAILGUN_URL=
|
|
- MAILGUN_KEY
|
|
- FROM_EMAIL= # An email address to send emails from
|
|
|
|
# Email addresses
|
|
- CONTACT_EMAIL= # An email address for people to contact you
|
|
- ADMIN_EMAIL= # An email address for admin notifications
|
|
|
|
# S3 storage settings
|
|
- AWS_S3_ENDPOINT=https://eu-central-1.linodeobjects.com/
|
|
- AWS_S3_BUCKET=treadl
|
|
- AWS_ACCESS_KEY_ID=
|
|
- AWS_SECRET_ACCESS_KEY=
|
|
|
|
mongo:
|
|
image: mongo:6
|