forked from owncloud-archive/enterprise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (42 loc) · 916 Bytes
/
docker-compose.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
version: '2'
services:
mariadb:
image: webhippie/mariadb
environment:
- MARIADB_ROOT_PASSWORD=secret
labels:
traefik.enable: 'false'
redis:
image: webhippie/redis
labels:
traefik.enable: 'false'
environment:
- REDIS_OPTS=--protected-mode no
owncloud:
build:
context: .
args:
- OWNCLOUD_TARBALL=${OWNCLOUD_TARBALL}
image: "owncloud/enterprise:$VERSION"
ports:
- "443:443"
- "80:80"
links:
- mariadb
- redis
labels:
- traefik.port=80
- traefik.frontend.passHostHeader=true
environment:
- MARIADB_ENV_MARIADB_ROOT_PASSWORD=secret
- OWNCLOUD_DOMAIN=mycloud.domain.com
volumes:
- ./data:/mnt/data
networks:
default:
ipam:
driver: default
config:
- subnet: 172.29.0.0/16
ip_range: 172.29.5.0/24
gateway: 172.29.5.254