-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdc-clim.yml
81 lines (74 loc) · 1.85 KB
/
dc-clim.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: '2'
services:
cre-proxy:
image: tamboraorg/creproxy:latest
container_name: creproxy
environment:
ADMIN_EMAIL: [email protected]
CRE_DOMAIN: example.com
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- "./certs:/etc/letsencrypt"
cre-nginx-php:
image: tamboraorg/crenginxphp:latest
container_name: crenginxphp
environment:
CRE_SUBDOMAIN: dev
links:
- cre-php
volumes_from:
- cre-php
cre-php:
image: tamboraorg/crephp:latest
container_name: crephp
environment:
CRE_PHP_ROOT: www/sub
# volumes:
# - ./volumes/www:/cre/www
links:
- cre-mysql
# - memcached2
# - postgres2
# - elasticsearch2
cre-mysql:
image: tamboraorg/cremysql:latest
container_name: cremysql
environment:
MYSQL_ROOT_PWD: secret
MYSQL_USER: cre
MYSQL_USER_PWD: secret
MYSQL_USER_DB: cre
CRE_SUBDOMAIN: db2
CRE_PORT: 3306
ports:
- "3306:3306"
volumes:
- ./volumes/mysql:/var/lib/mysql
cre-postgres:
image: tamboraorg/crepostgis:latest
container_name: crepostgres
volumes:
- ./volumes/postgres/data:/var/lib/postgresql/data
# - ./volumes/postgres/data:/var/lib/postgresql
environment:
CRE_SUBDOMAIN: db
CRE_PORT: 5432
POSTGRES_USER: cre
POSTGRES_PASSWORD: secret
POSTGRES_DB: cre
cre-nextcloud:
image: tamboraorg/crenextcloud:latest
container_name: crenextcloud
environment:
CRE_SUBDOMAIN: box
CRE_PORT: 9000
links:
- cre-postgres
volumes:
- ./nextcloud/apps:/var/www/html/apps
- ./nextcloud/config:/var/www/html/config
- ./nextcloud/data:/var/www/html/data
# docker-compose --file dc-clim.yml up -d