-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdc-tmb.yml
67 lines (59 loc) · 1.42 KB
/
dc-tmb.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
version: '2'
services:
cre-glue:
image: tamboraorg/creglue:2011.0
container_name: creglue
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
cre-proxy:
image: tamboraorg/creproxy:2011.0
container_name: creproxy
environment:
ADMIN_EMAIL: [email protected]
CRE_DOMAIN: localhost
CRE_DEVELOPMENT: dev
ports:
- "80:80"
- "443:443"
volumes:
- "./certs:/etc/letsencrypt"
volumes_from:
- cre-glue
cre-nginx-php:
image: tamboraorg/crenginxphp:2011.0
container_name: crenginxphp
environment:
CRE_SUBDOMAIN: www
CRE_PHP_ROOT: www/yii/web
POSTGRES_DB: tambora
POSTGRES_USER: testuser
POSTGRES_PWD: secret
SQLITE_DB: light
volumes:
- ./volumes/www:/cre/www
volumes_from:
- cre-glue
cre-php:
image: tamboraorg/crephpyii:2011.0
container_name: creyii
environment:
CRE_NGINX: crenginxphp
volumes_from:
- cre-glue
- cre-nginx-php
cre-postgis:
image: tamboraorg/crepostgis:2011.0
container_name: crepostgis
environment:
POSTGRES_ROOT_PWD: secret
CRE_SUBDOMAIN: db
CRE_PORT: 5432
ports:
- "5432:5432"
volumes:
- ./volumes/postgres/dumps/tambora:/cre/postgres/dumps/tambora
- ./volumes/postgres/data:/var/lib/postgresql
volumes_from:
- cre-glue
# docker system prune -f
# docker-compose --file dc-tmb.yml up -d