-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-cloud-dev.yml
106 lines (106 loc) · 2.48 KB
/
docker-cloud-dev.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
authorizedkeys:
autodestroy: always
deployment_strategy: every_node
environment:
- AUTHORIZED_KEYS=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7oJ/blBKJOHbhBbOLve6xWyzggSR/F680yTu0L1Mwp/KM1kJZTaMcsNH2GzPdHfwcliuM5xgEI45d5nRIeQJhusw+95SEdqEQdM3SIiZMyJLqRBQ3w37ewOy3VxvA5ife5jvCNdTMJcP+pxAKiNz5X7bsrhDUAvBxtvuoSFEb46DO+GQ8x1b+FaiK6PrMpFUkCDf84CjUB+zZXUnGSmPyqqd5y1Qf1a6RizmOR3oCBWRaT7Si5mfgJi8q0SmRLPCjy/+njv0PLnMjI2DSgfPvLqJR8OjxqXBU9SP6sJJ1ldDrUaA9qVfEdbDOXx/tUd38HDfbwqtrxXW4+P7mj+St
image: dockercloud/authorizedkeys:latest
tags:
- develop
volumes:
- /root:/user
certbot:
command: run.sh
environment:
- DOMAIN_NAME=dev.spatialconnect.boundlessgeo.com
- EMAIL=mcenac@boundlessgeo.com
image: boundlessgeo/spatialconnect-server:certbot
ports:
- '80'
- '443'
volumes:
- /etc/letsencrypt
- /var/lib/letsencrypt
geoserver:
environment:
- JAVA_OPTS=-Xmx1536M -XX:MaxPermSize=756M
- VIRTUAL_HOST=geoserver
image: kartoza/geoserver:latest
links:
- nginx
- postgis
ports:
- 8080:8080
tags:
- develop
kafka:
environment:
- KAFKA_ADVERTISED_HOST_NAME=kafka
- KAFKA_ADVERTISED_PORT=9092
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
image: wurstmeister/kafka:0.10.1.1
links:
- zookeeper
ports:
- 9092:9092
tags:
- develop
volumes:
- /root/data/kafka:/kafka
mosquitto:
autoredeploy: true
image: boundlessgeo/mosquitto:latest
ports:
- 1883:1883
- 8883:8883
- 8884:8884
tags:
- develop
nginx:
environment:
- DOMAIN_NAME=dev.spatialconnect.boundlessgeo.com
image: boundlessgeo/spatialconnect-server:web-dev
ports:
- 80:80
- 443:443
tags:
- develop
volumes_from:
- certbot
postgis:
environment:
- POSTGRES_USER=spacon
image: mdillon/postgis:latest
ports:
- 5432:5432
tags:
- develop
spatialconnect-server:
autoredeploy: true
command: java -jar /opt/server/target/spacon-server.jar
environment:
- BOOTSTRAP_SERVERS=kafka:9092
- DB_HOST=postgis
- HOSTNAME=dev.spatialconnect.boundlessgeo.com
- KEY_STORE=/opt/server/tls/test-keystore.p12
- MQTT_BROKER_URL=ssl://mosquitto:8884
- SMTP_PASSWORD=<your smtp password>
- SMTP_USERNAME=<your smtp username>
- TRUST_STORE=/opt/server/tls/test-cacerts.jks
image: boundlessgeo/spatialconnect-server:latest
links:
- mosquitto
- nginx
- postgis
ports:
- 8085:8085
restart: always
tags:
- develop
zookeeper:
image: wurstmeister/zookeeper:3.4.6
ports:
- 2181:2181
tags:
- develop
volumes:
- /root/data/zookeeper:/opt/zookeeper-3.4.6/data