-
Notifications
You must be signed in to change notification settings - Fork 0
/
dc-spring.yml
57 lines (52 loc) · 1.24 KB
/
dc-spring.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
version: '2'
services:
cre-glue:
image: tamboraorg/creglue:0.2020
container_name: creglue
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./secrets:/cre/secrets
cre-proxy:
image: tamboraorg/creproxy:0.2020
container_name: creproxy
environment:
ADMIN_EMAIL: [email protected]
CRE_DOMAIN: localhost
CRE_DEVELOPMENT: 1
ports:
- "80:80"
- "443:443"
volumes:
- "./volumes/certs:/etc/letsencrypt"
volumes_from:
- cre-glue
cre-spring:
image: tamboraorg/crespring:latest
container_name: crespring
environment:
CRE_SUBDOMAIN: www
CRE_PORT: 8000
# CRE_PHP_ROOT: www/yii/public
POSTGRES_DB: spring
POSTGRES_USER: spring
POSTGRES_PWD: geheim2
volumes:
- "./volumes/spring:/cre/spring"
volumes_from:
- cre-glue
ports:
- "8080:8080"
cre-postgis:
image: tamboraorg/crepostgis:0.2020
container_name: crepostgis
environment:
POSTGRES_ROOT_PWD: geheim
CRE_SUBDOMAIN: db
CRE_PORT: 5432
ports:
- "5432:5432"
volumes:
- ./volumes/postgres/dumps/tambora:/cre/postgres/dumps/tambora
volumes_from:
- cre-glue
# docker-compose --file dc-spring.yml up -d