2022-01-05 00:41:26 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
mobilizon:
|
|
|
|
name: ${MOBILIZON_VOLUME_NAME:-mobilizon}
|
|
|
|
|
|
|
|
services:
|
|
|
|
mobilizon:
|
|
|
|
container_name: ${MOBILIZON_CONTAINER_NAME:-mobilizon}
|
2022-02-22 15:55:18 +01:00
|
|
|
image: ${MOBILIZON_IMAGE:-framasoft/mobilizon:2.0.2}
|
2022-01-05 00:41:26 +01:00
|
|
|
restart: always
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- geoip
|
|
|
|
volumes:
|
|
|
|
- mobilizon:/var/lib/mobilizon/uploads
|
|
|
|
# - ${PWD}/config.exs:/etc/mobilizon/config.exs:ro
|
|
|
|
- geoip:/var/lib/mobilizon/geo_db
|
|
|
|
environment:
|
|
|
|
MOBILIZON_INSTANCE_NAME: ${MOBILIZON_INSTANCE_NAME}
|
|
|
|
MOBILIZON_INSTANCE_HOST: ${MOBILIZON_DOMAIN}
|
2022-01-10 10:27:22 +01:00
|
|
|
MOBILIZON_INSTANCE_PORT: ${MOBILIZON_INSTANCE_PORT:-4000}
|
2022-01-05 00:41:26 +01:00
|
|
|
MOBILIZON_INSTANCE_EMAIL: ${MOBILIZON_INSTANCE_EMAIL}
|
|
|
|
|
|
|
|
MOBILIZON_REPLY_EMAIL: ${MOBILIZON_REPLY_EMAIL}
|
|
|
|
MOBILIZON_ADMIN_EMAIL: ${MOBILIZON_ADMIN_EMAIL}
|
|
|
|
MOBILIZON_INSTANCE_REGISTRATIONS_OPEN: ${MOBILIZON_INSTANCE_REGISTRATIONS_OPEN:-false}
|
|
|
|
|
|
|
|
MOBILIZON_DATABASE_USERNAME: ${POSTGRES_USER}
|
|
|
|
MOBILIZON_DATABASE_PASSWORD: ${POSTGRES_PASSWORD}
|
|
|
|
MOBILIZON_DATABASE_DBNAME: ${POSTGRES_DB}
|
2022-01-26 11:09:23 +01:00
|
|
|
MOBILIZON_DATABASE_HOST: ${POSTGRES_CONTAINER_NAME:-postgres} # Default name is same as ../postgres/docker-compose.yml:8
|
2022-01-05 00:41:26 +01:00
|
|
|
|
|
|
|
MOBILIZON_INSTANCE_SECRET_KEY_BASE: ${MOBILIZON_INSTANCE_SECRET_KEY_BASE:?err}
|
|
|
|
MOBILIZON_INSTANCE_SECRET_KEY: ${MOBILIZON_INSTANCE_SECRET_KEY:?err}
|
|
|
|
|
|
|
|
MOBILIZON_SMTP_SERVER: ${MOBILIZON_SMTP_SERVER:?err}
|
|
|
|
MOBILIZON_SMTP_HOSTNAME: ${MOBILIZON_SMTP_HOSTNAME:?err}
|
|
|
|
MOBILIZON_SMTP_PORT: ${MOBILIZON_SMTP_PORT:?err}
|
|
|
|
MOBILIZON_SMTP_SSL: ${MOBILIZON_SMTP_SSL:?err}
|
|
|
|
MOBILIZON_SMTP_USERNAME: ${MOBILIZON_SMTP_USERNAME:?err}
|
|
|
|
MOBILIZON_SMTP_PASSWORD: ${MOBILIZON_SMTP_PASSWORD:?err}
|
|
|
|
|
|
|
|
PUID: ${MOBILIZON_PUID:-1000}
|
|
|
|
PGID: ${MOBILIZON_PGID:-1000}
|