mobilizon.chapril.org-mobil.../docker/production/docker-compose.yml

43 lines
1.0 KiB
YAML
Raw Normal View History

2020-10-22 15:19:01 +02:00
version: "3"
services:
mobilizon:
image: framasoft/mobilizon
environment:
2020-10-22 15:19:01 +02:00
- MOBILIZON_INSTANCE_NAME
- MOBILIZON_INSTANCE_HOST
- MOBILIZON_INSTANCE_EMAIL
- MOBILIZON_REPLY_EMAIL
- MOBILIZON_ADMIN_EMAIL
- MOBILIZON_INSTANCE_REGISTRATIONS_OPEN
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
- MOBILIZON_SMTP_SERVER
- MOBILIZON_SMTP_HOSTNAME
- MOBILIZON_SMTP_PORT
- MOBILIZON_SMTP_SSL
2020-10-22 15:19:01 +02:00
- MOBILIZON_SMTP_USERNAME
- MOBILIZON_SMTP_PASSWORD
volumes:
- ./public/uploads:/app/uploads
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