debianize-mobilizon/docker/production/docker-compose.yml

40 lines
989 B
YAML
Raw Normal View History

2020-10-22 15:19:01 +02:00
version: "3"
services:
mobilizon:
image: mobilizon
environment:
2020-10-22 15:19:01 +02:00
- MOBILIZON_INSTANCE_NAME
- MOBILIZON_INSTANCE_HOST
- MOBILIZON_INSTANCE_EMAIL
- MOBILIZON_REPLY_EMAIL
- MOBILIZON_INSTANCE_REGISTRATIONS_OPEN=true
2020-10-22 15:19:01 +02:00
- MOBILIZON_DATABASE_USERNAME=${POSTGRES_USER}
- MOBILIZON_DATABASE_PASSWORD=${POSTGRES_PASSWORD}
- MOBILIZON_DATABASE_DBNAME=${POSTGRES_DB}
- MOBILIZON_DATABASE_HOST=db
- MOBILIZON_INSTANCE_SECRET_KEY_BASE
- MOBILIZON_INSTANCE_SECRET_KEY
2020-10-22 15:19:01 +02:00
- MOBILIZON_SMTP_SERVER=yoursmtpserver
- MOBILIZON_SMTP_HOSTNAME=your.smtp.domain
- MOBILIZON_SMTP_USERNAME
- MOBILIZON_SMTP_PASSWORD
volumes:
- ./public/upload:/app/upload
ports:
- "4000:4000"
2020-10-22 15:19:01 +02:00
db:
image: postgis/postgis
volumes:
- ./db:/var/lib/postgresql/data
environment:
2020-10-22 15:19:01 +02:00
- POSTGRES_USER
- POSTGRES_PASSWORD
2020-10-22 15:19:01 +02:00
- POSTGRES_DB
networks:
default:
ipam:
driver: default