forked from pagopa/pagopa-wallet-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
96 lines (86 loc) · 2 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: '3.8'
services:
pagopa-wallet:
container_name: pagopa-wallet
build:
dockerfile: Dockerfile
context: .
env_file:
- ./.env
ports:
- "8200:8080"
depends_on:
- mongo
networks:
- pagopa-wallet-net
mongo:
container_name: pagopa-wallet-mongo
image: mongo
env_file: ./docker/config/mongo/mongodb.env
ports:
- "28017:27017"
networks:
- pagopa-wallet-net
healthcheck:
test: echo "db.stats().ok" | mongo --quiet
interval: 10s
mongo-express:
container_name: pagopa-wallet-mongo-express
image: mongo-express
env_file: ./docker/config/mongo/mongo-express.env
ports:
- "8201:8081"
networks:
- pagopa-wallet-net
depends_on:
- mongo
ecommerce-payment-methods:
build:
context: .
dockerfile: ./docker/config/ecommerce-payment-methods/Dockerfile.ecommerce-payment-methods
container_name: ecommerce-payment-methods
volumes:
- type: bind
source: ./docker/config/ecommerce-payment-methods
target: /config
read_only: true
ports:
- "8089:3000"
networks:
- pagopa-wallet-net
redis:
container_name: wallet-redis
image: redis
command: [ "sh", "-c", 'exec redis-server --requirepass "$$REDIS_PASSWORD"' ]
ports:
- "6379:6379"
networks:
- pagopa-wallet-net
redis-insight:
container_name: wallet-redis-insight
image: redislabs/redisinsight
ports:
- "8001:8001"
networks:
- pagopa-wallet-net
pagopa-npg-mock:
build:
context: .
dockerfile: ./docker/config/npg-mock/Dockerfile.npg-mock
container_name: pagopa-npg-mock
volumes:
- type: bind
source: ./docker/config/npg-mock
target: /config
read_only: true
ports:
- "3000:3000"
networks:
- pagopa-wallet-net
networks:
pagopa-wallet-net:
driver: bridge
ipam:
config:
- subnet: 10.20.0.0/16
gateway: 10.20.0.1