This repository has been archived by the owner on Jun 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.admin.yml
157 lines (156 loc) · 3.84 KB
/
docker-compose.admin.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
---
version: '2'
services:
zap:
image: owasp/zap2docker-weekly
depends_on:
- webui
command: zap-baseline.py -t http://webui:2016
alertmanager:
image: prom/alertmanager
ports:
- 9093:9093
volumes:
- "./alertmanager/:/etc/alertmanager/"
command:
- '--config.file=/etc/alertmanager/config.yml'
- '--storage.path=/alertmanager'
#
# cadvisor is not working on windows, remove for now
#
# prometheus:
# image: prom/prometheus
# volumes:
# - ./prometheus/:/etc/prometheus/
# - prometheus_data:/prometheus
# command:
# - '--config.file=/etc/prometheus/prometheus.yml'
# - '--storage.tsdb.path=/prometheus'
# - '--web.console.libraries=/usr/share/prometheus/console_libraries'
# - '--web.console.templates=/usr/share/prometheus/consoles'
# ports:
# - 9090:9090
# depends_on:
# - cadvisor
# cadvisor:
# image: google/cadvisor
# volumes:
# - /:/rootfs:ro
# - /var/run:/var/run:rw
# - /sys:/sys:ro
# - /var/lib/docker/:/var/lib/docker:ro
# ports:
# - 8080:8080
mailhog:
image: mailhog/mailhog:v1.0.0
ports:
- "8025:8025"
- "1025:1025"
environment:
- MH_STORAGE=maildir
- MH_MAILDIR_PATH=/maildir
- VIRTUAL_HOST=mailhog.dev.havengrc.com
- VIRTUAL_PORT=8025
volumes:
- ./mailhog/maildir:/maildir
apitest:
build:
context: ./apitest
dockerfile: ./apitest/Dockerfile
working_dir: /usr/src/app
environment:
- AUTH_SERVER=dev.havengrc.com
- BUFFALO_SERVER=dev.havengrc.com
volumes:
- ./apitest:/usr/src/app
links:
- keycloak
- webui:dev.havengrc.com
depends_on:
- start_dependencies
command: [cucumber]
swagger:
image: havengrc-docker.jfrog.io/swaggerapi/swagger-ui:v3.0.2
ports:
- "3002:8080"
volumes:
- ./swagger/index.html:/usr/share/nginx/html/index.html
unleash:
build:
context: ./unleash
ports:
- "4242:4242"
environment:
- DATABASE_URL=postgres://postgres:postgres@db/mappamundi_dev
- KEYCLOAK_HOST=http://localhost:2015
- KEYCLOAK_REALM=havendev
- KEYCLOAK_CLIENT_ID=unleash
- KEYCLOAK_CLIENT_SECRET=2e78e079-b39a-4a8b-8f33-0ab327518ae6
- SITE_URL=http://localhost:2015/unleash
depends_on:
- start_dependencies
links:
- keycloak
# grafana:
# image: grafana/grafana
# depends_on:
# - prometheus
# ports:
# - 3500:3000
# volumes:
# - grafana_data:/var/lib/grafana
# - ./grafana/provisioning/:/etc/grafana/provisioning/
# env_file:
# - ./grafana/config.monitoring
docs:
working_dir: /docs
volumes:
- ./docs:/docs
- /docs/node_modules
build:
context: .
dockerfile: ./docs/Dockerfile
ports:
- "4000:4000"
command: [serve]
environment:
- VIRTUAL_HOST=docs.dev.havengrc.com
pgadmin:
image: dpage/pgadmin4
environment:
- "PGADMIN_DEFAULT_EMAIL=user1@havengrc.com"
- "PGADMIN_DEFAULT_PASSWORD=password"
ports:
- "8081:80"
volumes:
- ./postgresql-data/servers.json:/pgadmin4/servers.json
plantuml:
working_dir: /docs
volumes:
- ./docs:/docs
build:
context: .
dockerfile: ./docs/plantuml/Dockerfile
command: [-v, /docs/plantuml/*.puml]
mjml:
build:
context: mjml/
volumes:
- ./mjml/templates:/home/mjml/templates
- ./mjml/dist:/home/mjml/dist
command: ["templates/*.mjml", "-o", "dist/"]
cypress:
build:
context: webui
dockerfile: Dockerfile-cypress
links:
- mailhog
depends_on:
- mailhog
- gatekeeper
volumes:
- ./webui:/e2e
extra_hosts:
- "dev.havengrc.com:127.0.0.1"
environment:
- "GATEKEEPER_INTERNAL=http://gatekeeper:81"