This repository has been archived by the owner on Apr 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
61 lines (57 loc) · 1.63 KB
/
docker-compose.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
version: '3.4'
services:
reviewer-client:
container_name: reviewer-client_app
build:
context: './'
target: dev
image: libero/reviewer-client:${IMAGE_TAG:-local}
stdin_open: true
environment:
PORT: 9000
NEW_RELIC_CLIENT_LICENSE_KEY: ''
NEW_RELIC_CLIENT_APP_ID: ''
volumes:
- ./.eslintignore:/app/.eslintignore
- ./.eslintrc.js:/app/.eslintrc.js
- ./.prettierrc.js:/app/.prettierrc.js
- ./jest.config.js:/app/jest.config.js
- ./src/:/app/src
- ./package.json:/app/package.json
- ./yarn.lock:/app/yarn.lock
- ./tests/:/app/tests
- ./public/:/app/public
- ./tsconfig.json:/app/tsconfig.json
- ./index.ts:/app/index.ts
networks:
- "reviewer"
nginx:
container_name: reviewer-client_nginx
image: nginx:stable-alpine@sha256:0dfc8450deb8c7f06fbaac27e453ac3262df7d3a93639c4e2f48ee39434ec017
networks:
- "reviewer"
ports:
- '9000:9000'
volumes:
- ./config/nginx-proxies/nginx.dev.conf:/etc/nginx/nginx.conf
reviewer-mocks:
container_name: reviewer-client_mocks
image: liberoadmin/reviewer-mocks:latest
environment:
DATA_DIRECTORY_PATH: /etc/reviewer/mock-data/
ports:
- "3003:3003"
volumes:
- ./config/reviewer-mocks/config.default.json:/etc/reviewer/config.json
- ./tests/test-data/mockApiData:/etc/reviewer/mock-data
networks:
- "reviewer"
healthcheck:
test: 'echo -e "GET /health\n\n" | nc localhost 3003'
interval: 3s
timeout: 10s
retries: 3
networks:
reviewer:
external:
name: "reviewer"