-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (40 loc) · 970 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
43
44
version: "2"
services:
httpd:
build: httpd
ports:
- "80:80"
- "443:443"
extends:
file: common-services.yml
service: httpd
volumes:
- /home/sangah:/home/sangah:ro
- /etc/letsencrypt:/etc/letsencrypt:ro
- /var/www:/var/www/html
- ./sqldesigner:/var/www/html/sqldesigner
- ./httpd/conf/sites-available/pmis-manual.conf:/etc/apache2/sites-enabled/pmis-manual.conf
restart: "unless-stopped"
owncloud:
image: ${REGISTRY_URL}/owncloud:${OWNCLOUD_VERSION}
extends:
file: common-services.yml
service: owncloud
environment:
- OWNCLOUD_REDIS_ENABLED=true
- OWNCLOUD_REDIS_HOST=redis
volumes:
- ${OWNCLOUD_DATA}:/mnt/data
depends_on:
- httpd
restart: "unless-stopped"
redis:
image: webhippie/redis:latest
environment:
- REDIS_DATABASES=1
volumes:
- redis:/var/lib/redis
restart: "unless-stopped"
volumes:
redis:
driver: local