-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.localtest.yml
51 lines (50 loc) · 1.19 KB
/
docker-compose.localtest.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
version: '3'
volumes:
postgres_data:
services:
postgres:
image: postgres:9.6.1
environment:
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- postgres_data:/var/lib/postgresql/data
router:
image: dev.catenasys.com:8083/blockchaintp/noxy:latest
ports:
- 80:80
depends_on:
- api
- frontend
environment:
- NOXY_DEFAULT_HOST=frontend
- NOXY_DEFAULT_PORT=8080
- NOXY_DEFAULT_WS=1
- NOXY_API_FRONT=/api/v1
- NOXY_API_HOST=api
- NOXY_PROXY_FRONT=/proxy
- NOXY_PROXY_HOST=api
frontend:
image: dev.catenasys.com:8083/blockchaintp/sextant-ci:canary
ports:
- 8080:8080
environment:
- PORT=8080
- NODE_ENV=production
api:
image: sextant-api:$ISOLATION_ID
# entrypoint: bash -c 'tail -f /dev/null'
container_name: api_test
depends_on:
- postgres
environment:
- LOG_LEVEL=debug
- POSTGRES_SERVICE_HOST=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD=postgres
- SESSION_SECRET=sextant
- TOKEN_SECRET=sextant
- BTP_DEV_USR
- BTP_DEV_PSW