-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
99 lines (93 loc) · 2.13 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
99 lines (93 loc) · 2.13 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
services:
postgres:
image: postgres:16.2
container_name: medtechchain-postgres
profiles:
- deps
- dev
- demo
command: postgres
environment:
POSTGRES_DB: medtechchain
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
ports:
- "5432:5432"
networks:
- medtechchain
volumes:
- postgres_storage:/var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4:8.4
container_name: medtechchain-pgadmin
profiles:
- deps
- dev
- demo
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: admin@medtechchain.nl
PGADMIN_DEFAULT_PASSWORD: admin
ports:
- "10000:80"
networks:
- medtechchain
volumes:
- pgadmin_storage:/var/lib/pgadmin
smtp4dev:
image: rnwood/smtp4dev:3.3.2
container_name: medtechchain-smtp4dev
profiles:
- deps
- dev
restart: always
environment:
ServerOptions__HostName: medtechchain.nl
ports:
- "11000:8080"
- "25:25"
- "143:143"
networks:
- medtechchain
volumes:
- smtp4dev_storage:/smtp4dev
medtechchain-backend-dev: &medtechchain-backend-dev
build:
context: .
dockerfile: Dockerfile
image: medtechchain/backend
container_name: medtechchain-backend-dev
depends_on:
- postgres
profiles:
- dev
environment: &medtechchain-backend-dev-env
DB_POSTGRES_HOST: postgres
SMTP_SERVER_HOST: smtp4dev
CRYPTO_PATH: /crypto/medtechchain.nl
PEER_ENDPOINT: peer0.medtechchain.nl:7051
ports:
- "8088:8088"
networks:
- medtechchain
medtechchain-backend:
<<: *medtechchain-backend-dev
container_name: medtechchain-backend
profiles:
- demo
environment:
<<: *medtechchain-backend-dev-env
SMTP_SERVER_HOST: smtp.gmail.com
SMTP_SERVER_PORT: 587
SMTP_USER: noreply.medtechchain@gmail.com
SMTP_PASSWORD: ${SMTP_PASSWORD}
SMTP_AUTH: "true"
SMTP_TLS: "true"
networks:
medtechchain:
external: true
name: medtechchain
volumes:
postgres_storage:
pgadmin_storage:
smtp4dev_storage: