-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
46 lines (42 loc) · 1.01 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
version: '2.1'
services:
frontend:
build: ./frontend
volumes:
- ./frontend:/app
- nginx-static:/var/www
command: 'true'
environment:
#REACT_JWT_COMMAND: 'yarn start'
REACT_APP_SERVICE_HOSTPORT: 'interxns.jolocom.io'
REACT_APP_SERVICE_TLS: 1
BUILD_OUTPUT: '/var/www/interxns-demo'
service_agent:
build: ./sdk
image: jolocom/sdk
restart: unless-stopped
expose:
- "9000"
networks:
- default
- nginx-proxy
volumes:
- ./service_agent:/app
environment:
SERVICE_HOSTPORT: 'interxns.jolocom.io'
SERVICE_LISTEN_PORT: 9000
SERVICE_TLS: 1
DEBUG: 1
LETSENCRYPT_HOST: 'interxns.jolocom.io'
LETSENCRYPT_EMAIL: '[email protected]'
VIRTUAL_PROTO: 'http+static'
VIRTUAL_HOST: 'interxns.jolocom.io'
VIRTUAL_ROOT: 'interxns-demo'
VIRTUAL_PROXY_PATH: '~ /jolo/'
VIRTUAL_NETWORK: 'nginx-proxy'
volumes:
nginx-static:
external: true
networks:
nginx-proxy:
external: true