-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
120 lines (117 loc) · 4.18 KB
/
Copy pathdocker-compose.yml
File metadata and controls
120 lines (117 loc) · 4.18 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
version: "3.9"
services:
https-portal:
image: steveltn/https-portal:1.3.0
ports:
- '80:80'
- '443:443'
depends_on:
- viz
- browse
# - logging-service
# volumes:
# - https-portal-data:/var/lib/https-portal
restart: always
environment:
DOMAINS: 'viz.portal.cssatanalytics.org -> http://viz, portal.cssatanalytics.org -> http://browse'
STAGE: 'local'
# Don't output logs with status code 2XX to stdout
# FLUENTD_STDOUT_FILTER_PATTERN: '\A[^ ]* [^ ]* [^ ] \[[^\]]*\] "\S+(?: +[^\"]*?(?: +\S*)?)?" 2'
# logging:
# driver: fluentd
# options:
# fluentd-address: 172.20.0.6:24224
# fluentd-sub-second-precision: "true"
# fluentd-async-connect: "true"
# fluentd-retry-wait: 1s
# fluentd-max-retries: 30
# tag: docker.https-portal
# env: FLUENTD_STDOUT_FILTER_PATTERN
# links:
# - logging-service
networks:
viz:
ipv4_address: 172.20.0.2
viz:
env_file:
./viz/.env
# build:
# context: .
#dockerfile: ./viz/Dockerfile
image: "${VIZ_IMAGE_REPO_URI}:1.0.0-a.1"
# depends_on:
# - logging-service
networks:
viz:
ipv4_address: 172.20.0.3
# volumes:
# - ./viz/html:/portal-visualizations/
# - ./common-resources/:/portal-visualizations/public/content-data/
environment:
CONTENT_PATH: './content-data/content/graphs/'
VIRTUAL_HOST: viz.portal.cssatanalytics.org
VIRTUAL_HOST_ROOT: portal-visualizations
# Don't output logs with status code 2XX to stdout
# FLUENTD_STDOUT_FILTER_PATTERN: '\A[^ ]* [^ ]* [^ ] \[[^\]]*\] "\S+(?: +[^\"]*?(?: +\S*)?)?" 2'
# logging:
# driver: fluentd
# options:
# fluentd-address: 172.20.0.6:24224
# fluentd-sub-second-precision: "true"
# fluentd-async-connect: "true"
# fluentd-retry-wait: 1s
# fluentd-max-retries: 30
# tag: docker.viz
# env: FLUENTD_STDOUT_FILTER_PATTERN
# links:
# - logging-service
browse:
image: "${BROWSE_IMAGE_REPO_URI}:1.0.0-a.1"
# build:
# context: .
#dockerfile: ./browse/Dockerfile
# depends_on:
# - logging-service
# volumes:
# - ./browse/html:/portal-browse/
# - ./common-resources/:/portal-browse/public/content-data/
environment:
VIRTUAL_HOST: portal.cssatanalytics.org
VIRTUAL_HOST_ROOT: portal-browse
# Don't output logs with status code 2XX to stdout
# FLUENTD_STDOUT_FILTER_PATTERN: '\A[^ ]* [^ ]* [^ ] \[[^\]]*\] "\S+(?: +[^\"]*?(?: +\S*)?)?" 2'
# logging:
# driver: fluentd
# options:
# fluentd-address: 172.20.0.6:24224
# fluentd-sub-second-precision: "true"
# fluentd-async-connect: "true"
# fluentd-retry-wait: 1s
# fluentd-max-retries: 30
# tag: docker.browse
# env: FLUENTD_STDOUT_FILTER_PATTERN
# links:
# - logging-service
networks:
viz:
ipv4_address: 172.20.0.4
# logging-service:
# build:
# context: ./logging-service
# dockerfile: Dockerfile
# env_file:
# ./logging-service/.env
# ports:
# - '24224:24224'
# networks:
# viz:
# ipv4_address: 172.20.0.6
# volumes:
# https-portal-data:
networks:
viz:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.20.0.0/24