-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathdocker-compose-test.yml
More file actions
56 lines (53 loc) · 1.17 KB
/
docker-compose-test.yml
File metadata and controls
56 lines (53 loc) · 1.17 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
version: "3.9"
secrets:
lighthouserc.json:
external: true
name: ${PROJECT_NAME}_lighthouserc.json
volumes:
lhci_data:
metadata_data:
networks:
postgres:
external: true
frontend:
external: true
services:
lhci-server:
image: patrickhulce/lhci-server:0.12.0
environment:
VIRTUAL_HOST: https://lighthouse-${BASE_DOMAIN} -> :9001
volumes:
- lhci_data:/data
secrets:
- source: lighthouserc.json
target: /usr/src/lhci/lighthouserc.json
networks:
- postgres
- frontend
deploy:
placement:
constraints:
- node.labels.govtool-test-stack == true
restart_policy:
delay: "30s"
resources:
limits:
memory: 1G
reservations:
memory: 300M
metadata-api:
image: govtool/metadata-api:${GOVTOOL_TAG}
build:
context: ../test-metadata-api
environment:
VIRTUAL_HOST: https://metadata-${BASE_DOMAIN} -> :3000
networks:
- frontend
volumes:
- metadata_data:/data
deploy:
restart_policy:
delay: "30s"
placement:
constraints:
- node.labels.govtool-test-stack==true