generated from Randers-Kommune-Digitalisering/node-red-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
79 lines (63 loc) · 1.55 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
services:
node_red_vue:
build: .
networks:
- node_red_vue
ports:
- "1880:1880"
- "3000:3000"
environment:
DB_USER: root
DB_PASS: pass
DB_HOST: db
DB_PORT: 3306
DB_DATABASE: demo
######### Testmiljø:
# CLIENT_ID: ${CLIENT_ID}
# CLIENT_SECRET: ${CLIENT_SECRET}
# EIDASPRIVATEKEY: ${EIDASPRIVATEKEY}
# KONTO: ${TEST_KONTO}
# AUTH_ID: ${TEST_AUTH_ID}
# AGREEMENT_ID: ${TEST_AGREEMENT_ID}
######### Produktionsmiljø:
CLIENT_ID: ${PRODUKTIONSKEY}
CLIENT_SECRET: ${PRODUKTIONSSECRET}
EIDASPRIVATEKEY: ${PROD_EIDASPRIVATEKEY}
HOVEDKONTO: ${HOVEDKONTO}
DEBITORKONTO: ${DEBITORKONTO}
AUTH_ID: ${PROD_AUTH_ID}
AGREEMENT_ID: ${PROD_AGREEMENT_ID}
CREDENTIAL_SECRET: ${CREDENTIAL_SECRET}
FLOWS: "/data/flows.json"
TZ: "Europe/Copenhagen"
volumes:
- "./node-red/:/data"
depends_on:
- redis_microservice
- db
redis_microservice:
build:
context: ./redis_microservice
networks:
- node_red_vue
db:
image: mariadb:10.6.11
restart: always
environment:
MARIADB_ROOT_PASSWORD: pass
MARIADB_DATABASE: demo
TZ: "Europe/Copenhagen"
command: [
'--wait_timeout=60'
]
healthcheck:
test: mysqladmin ping -h 127.0.0.1 -u root --password=pass
start_period: 5s
interval: 5s
timeout: 5s
retries: 55
networks:
- node_red_vue
networks:
node_red_vue:
name: node_red_vue