|
@@ -1,6 +1,7 @@
|
|
|
version: "2"
|
|
|
services:
|
|
|
base:
|
|
|
+ restart: always
|
|
|
image: fd3-base
|
|
|
build:
|
|
|
context: ./base
|
|
@@ -16,8 +17,8 @@ services:
|
|
|
volumes:
|
|
|
- ./base/:/opt/base/
|
|
|
|
|
|
-
|
|
|
ftth:
|
|
|
+ restart: always
|
|
|
image: fd3-ftth
|
|
|
build:
|
|
|
context: ./ftth
|
|
@@ -36,6 +37,7 @@ services:
|
|
|
volumes:
|
|
|
- ./ftth/:/opt/ftth/
|
|
|
mapas:
|
|
|
+ restart: always
|
|
|
image: fd3-mapas
|
|
|
build:
|
|
|
context: ./mapas
|
|
@@ -54,6 +56,7 @@ services:
|
|
|
- ./mapas/:/opt/mapas/
|
|
|
|
|
|
stats:
|
|
|
+ restart: always
|
|
|
image: fd3-stats
|
|
|
build:
|
|
|
context: ./stats
|
|
@@ -65,15 +68,15 @@ services:
|
|
|
VIRTUAL_HOST: stats.fd3.flowdat.com
|
|
|
HOST_FTTH: ftth.fd3.flowdat.com
|
|
|
HOST_BASE: base.fd3.flowdat.com
|
|
|
- OAUTH_CLIENT_ID: 1_4gs3n2b9s7mso00kgogoks4k0ogk0ggs0w0k4k484gkowcg08k
|
|
|
- OAUTH_CLIENT_SECRET: 60n93pmoh10c848wg0sc0844ow84sco0sc8gkockow4sg4sc0g
|
|
|
-
|
|
|
+ OAUTH_CLIENT_ID: 3_46pss382s204gw0w884cscwwcsko8gwos8k4s0s0gsw80g8ow0
|
|
|
+ OAUTH_CLIENT_SECRET: 26t1iwibixog0kcwko88co0gssk440ww8k8c4sok4skc0ow0oo
|
|
|
volumes:
|
|
|
- ./stats/:/opt/stats/
|
|
|
|
|
|
|
|
|
|
|
|
mysql:
|
|
|
+ restart: always
|
|
|
environment:
|
|
|
MYSQL_ROOT_PASSWORD: 235r2342gtfsw
|
|
|
MYSQL_USER: iksop
|
|
@@ -83,12 +86,14 @@ services:
|
|
|
image: mysql:5.7
|
|
|
|
|
|
amqp:
|
|
|
+ restart: always
|
|
|
image: rabbitmq:3-management
|
|
|
restart: always
|
|
|
ports:
|
|
|
- "8072:15672"
|
|
|
|
|
|
ftth_worker:
|
|
|
+ restart: always
|
|
|
image: fd3-ftth
|
|
|
build:
|
|
|
context: ./ftth
|
|
@@ -108,6 +113,7 @@ services:
|
|
|
- ./ftth/:/opt/ftth/
|
|
|
|
|
|
phpmyadmin:
|
|
|
+ restart: always
|
|
|
image: phpmyadmin/phpmyadmin
|
|
|
links:
|
|
|
- mysql:db
|
|
@@ -119,6 +125,7 @@ services:
|
|
|
|
|
|
|
|
|
grafana:
|
|
|
+ restart: always
|
|
|
image: grafana/grafana
|
|
|
links:
|
|
|
- jsonendpoint:endpoint
|
|
@@ -135,6 +142,7 @@ services:
|
|
|
|
|
|
|
|
|
jsonendpoint:
|
|
|
+ restart: always
|
|
|
image: fd3_simple_json_endpoint_mysql
|
|
|
environment:
|
|
|
MYSQL_ROOT_PASSWORD: 235r2342gtfsw
|
|
@@ -147,6 +155,7 @@ services:
|
|
|
|
|
|
|
|
|
statsd:
|
|
|
+ restart: always
|
|
|
image: fd3-statsd-mysql-backend
|
|
|
build:
|
|
|
context: ./statsd/statsd
|
|
@@ -158,6 +167,7 @@ services:
|
|
|
- ./statsd/statsd/:/opt/config
|
|
|
|
|
|
supervisord:
|
|
|
+ restart: always
|
|
|
image: fd3-supervisord
|
|
|
build:
|
|
|
context: supervisord
|
|
@@ -174,6 +184,7 @@ services:
|
|
|
TERM: "xterm"
|
|
|
|
|
|
nginx-proxy:
|
|
|
+ restart: always
|
|
|
image: jwilder/nginx-proxy
|
|
|
container_name: nginx-proxy
|
|
|
ports:
|