-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.example.yml
47 lines (47 loc) · 1.58 KB
/
docker-compose.example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '3'
services:
mysql:
volumes: []
# mount for restoring backups
# - ./backup:/var/lib/backup/:ro
environment:
MYSQL_ROOT_PASSWORD: secret
wiki:
volumes: []
# Mount for images
#- /var/lib/images/:/var/www/html/images
# FreeIPA Cert
#- /etc/ipa/ca.crt:/usr/local/share/ca-certificates/ca.crt
environment:
VIRTUAL_HOST: wiki.vcap.me
# use your own 64-character random string here! This example is compromised by definition
MW_WG_SECRET: "1a0e46df5a9081c7c790dbf60588eea56c87c9634e155572cc2da879147539a3"
# external server name
MW_WG_SERVER: http://wiki.example.org
# Changeme
# MW_WG_SECRET: ""
MW_WG_SITENAME: RaBeWiki
MW_WG_METANAMESPACE: RaBeWiki
MW_WG_DBUSER: root
MW_WG_DBPASS: secret
MW_WG_LANGUAGECODE: de-ch
MW_WG_RAWHTML: 'true'
# REMOTE_USER login only
MW_AUTH_CREATEACCOUNT: 'false'
MW_AUTH_REMOTEUSER: 'true'
# Activate Maintenance mode
# MW_WG_READONLY: "Maintenance"
# Activate debug
# MW_DEBUG: "true"
# Set the redirect_uri to use, needed for OpenID Connect until we get rid of the sed patch in wiki/Dockerfile
# MW_AUTH_OIDC_REDIRECT_URI: URL/to/Special:PluggableAuthLogin
# hostname for SemanticMediawiki extentsion
MW_SMW_ENABLE_SEMANTICS_DOMAIN: wiki.example.org
backup:
volumes: []
# where to store backups (default ./backup)
# - /var/lib/backup/:/backup
environment:
MYSQL_PASSWORD: secret
# How many days of backups to keep
# BACKUP_RETENTION: 14