42 lines
No EOL
1.9 KiB
YAML
42 lines
No EOL
1.9 KiB
YAML
services:
|
|
paheko:
|
|
image: bololo/paheko:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /data/lail-apps/lail-paheko/data:/var/www/paheko/data
|
|
- /data/lail-apps/lail-paheko/plugins:/var/www/paheko/plugins
|
|
- type: bind
|
|
source: ./config.local.php
|
|
target: /var/www/paheko/config.local.php
|
|
content: |
|
|
<?php
|
|
const SHOW_ERRORS = false;
|
|
const SQLITE_JOURNAL_MODE = 'WAL';
|
|
const OIDC_CLIENT_BUTTON = $PAHEKO_OIDC_CLIENT_BUTTON ?: 'Se connecter avec le SSO LAIL';
|
|
const OIDC_CLIENT_URL = $PAHEKO_OIDC_CLIENT_URL ?: null;
|
|
const OIDC_CLIENT_ID = $PAHEKO_OIDC_CLIENT_ID ?: null;
|
|
const OIDC_CLIENT_SECRET = $PAHEKO_OIDC_CLIENT_SECRET ?: null;
|
|
const OIDC_CLIENT_MATCH_EMAIL = true;
|
|
const SMTP_HOST = $PAHEKO_SMTP_HOST ?: null;
|
|
const SMTP_PORT = $PAHEKO_SMTP_PORT ? (int) $PAHEKO_SMTP_PORT : 587;
|
|
const SMTP_USER = $PAHEKO_SMTP_USER ?: null;
|
|
const SMTP_PASSWORD = $PAHEKO_SMTP_PASSWORD ?: null;
|
|
const SMTP_SECURITY = $PAHEKO_SMTP_SECURITY ?: 'STARTTLS';
|
|
const SMTP_HELO_HOSTNAME = $PAHEKO_SMTP_HELO_HOSTNAME ?: null;
|
|
const MAIL_RETURN_PATH = $PAHEKO_MAIL_RETURN_PATH ?: null;
|
|
const MAIL_SENDER = $PAHEKO_MAIL_SENDER ?: null;
|
|
const DATA_ROOT = '/var/www/paheko/data';
|
|
const WOPI_DISCOVERY_URL = $PAHEKO_WOPI_DISCOVERY_URL ?: null;
|
|
const CONVERSION_TOOLS = ['collabora'];
|
|
const API_USER = $PAHEKO_API_USER ?: null;
|
|
const API_PASSWORD = $PAHEKO_API_PASSWORD ?: null;
|
|
const LEGAL_HOSTING_DETAILS = $PAHEKO_LEGAL_HOSTING_DETAILS;
|
|
const DISABLE_INSTALL_PING = true;
|
|
const ENABLE_UPGRADES = false;
|
|
networks:
|
|
- coolify
|
|
- default
|
|
|
|
networks:
|
|
coolify:
|
|
external: true |