forked from crazy-max/docker-dokuwiki
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (27 loc) 路 814 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
29 lines (27 loc) 路 814 Bytes
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
version: '2.4'
services:
dokuwiki:
container_name: dokuwiki
image: mtilson/dokuwiki:latest
volumes:
- ${PERSISTENT_DIR:-/opt/docker/persistent}/dokuwiki/data:/data
- ${PERSISTENT_DIR:-/opt/docker/persistent}/dokuwiki/root/.ssh:/root/.ssh
labels:
- traefik.enable=true
- traefik.backend=dokuwiki
- traefik.port=80
- traefik.frontend.rule=${DOKUWIKI_TRAEFIK_FE_RULE:-Host:wiki.example.com}
environment:
- BACKUP_USER_EMAIL=${BACKUP_USER_EMAIL:-dokuwiki-backup@example.com}
- GIT_BACKUP_REPO_URL
- TZ=${TZ:-Europe/Luxembourg}
- MEMORY_LIMIT
- UPLOAD_MAX_SIZE
- OPCACHE_MEM_SIZE
restart: always
networks:
- commonnet
networks:
commonnet:
external:
name: ${COMMON_NETWORK:-traefik-public-network}