-
Notifications
You must be signed in to change notification settings - Fork 101
/
docker-compose.yaml
67 lines (65 loc) · 2.41 KB
/
docker-compose.yaml
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
version: "3.8"
services:
lamassu-server:
build:
context: .
dockerfile: build/server.Dockerfile
target: l-s
restart: on-failure
ports:
- 3000:3000
volumes:
- ./lamassu-data:/lamassu-data
environment:
- NODE_ENV=production
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres123
- POSTGRES_HOST=host.docker.internal
- POSTGRES_PORT=5432
- POSTGRES_DB=lamassu
- CA_PATH=/lamassu-data/certs/Lamassu_OP_Root_CA.pem
- CERT_PATH=/lamassu-data/certs/Lamassu_OP.pem
- KEY_PATH=/lamassu-data/private/Lamassu_OP.key
- MNEMONIC_PATH=/lamassu-data/mnemonics/mnemonic.txt
- OFAC_DATA_DIR=/lamassu-data/ofac
- ID_PHOTO_CARD_DIR=/lamassu-data/idphotocard
- FRONT_CAMERA_DIR=/lamassu-data/frontcamera
- OPERATOR_DATA_DIR=/lamassu-data/operatordata
- COIN_ATM_RADAR_URL=https://coinatmradar.info/api/lamassu/
- OFAC_SOURCES_NAMES=sdn_advanced,cons_advanced
- OFAC_SOURCES_URLS=https://www.treasury.gov/ofac/downloads/sanctions/1.0/sdn_advanced.xml,https://www.treasury.gov/ofac/downloads/sanctions/1.0/cons_advanced.xml
- HOSTNAME=localhost
- LOG_LEVEL=info
lamassu-admin-server:
build:
context: .
dockerfile: build/server.Dockerfile
target: l-a-s
restart: on-failure
ports:
- 443:443
volumes:
- ./lamassu-data:/lamassu-data
environment:
- NODE_ENV=production
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres123
- POSTGRES_HOST=host.docker.internal
- POSTGRES_PORT=5432
- POSTGRES_DB=lamassu
- CA_PATH=/lamassu-data/certs/Lamassu_OP_Root_CA.pem
- CERT_PATH=/lamassu-data/certs/Lamassu_OP.pem
- KEY_PATH=/lamassu-data/private/Lamassu_OP.key
- MNEMONIC_PATH=/lamassu-data/mnemonics/mnemonic.txt
- OFAC_DATA_DIR=/lamassu-data/ofac
- ID_PHOTO_CARD_DIR=/lamassu-data/idphotocard
- FRONT_CAMERA_DIR=/lamassu-data/frontcamera
- OPERATOR_DATA_DIR=/lamassu-data/operatordata
- COIN_ATM_RADAR_URL=https://coinatmradar.info/api/lamassu/
- OFAC_SOURCES_NAMES=sdn_advanced,cons_advanced
- OFAC_SOURCES_URLS=https://www.treasury.gov/ofac/downloads/sanctions/1.0/sdn_advanced.xml,https://www.treasury.gov/ofac/downloads/sanctions/1.0/cons_advanced.xml
- HOSTNAME=172.29.0.3
- LOG_LEVEL=info
depends_on:
lamassu-server:
condition: service_started