-
Notifications
You must be signed in to change notification settings - Fork 31
/
local.yml
71 lines (68 loc) · 1.48 KB
/
local.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
version: "3.7"
services:
alva-catalog-envoy:
container_name: "catalog-envoy"
image: uid4oe/alva-catalog-envoy:local
networks:
- grpc-web-demo-alva-net
ports:
- "8000:8000"
alva-offer-envoy:
container_name: "offer-envoy"
image: uid4oe/alva-offer-envoy:local
networks:
- grpc-web-demo-alva-net
ports:
- "8001:8001"
alva-order-envoy:
container_name: "order-envoy"
image: uid4oe/alva-order-envoy:local
networks:
- grpc-web-demo-alva-net
ports:
- "8002:8002"
alva-ui:
container_name: "ui"
image: uid4oe/alva-ui:latest
networks:
- grpc-web-demo-alva-net
ports:
- 3000:80
postgres:
container_name: "postgres"
image: postgres:latest
hostname: postgres
user: postgres
restart: always
volumes:
- postgres:/var/lib/postgresql/data
- ./all.sql:/docker-entrypoint-initdb.d/create_tables.sql
env_file:
- .env
networks:
- grpc-web-demo-alva-net
command: "postgres"
ports:
- "5432:5432"
mongodb:
container_name: "mongodb"
image: mongo:latest
hostname: mongodb
restart: always
volumes:
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
- mongodb:/data/db
- mongoconfig:/data/configdb
env_file:
- .env
networks:
- grpc-web-demo-alva-net
ports:
- 27017:27017
volumes:
mongodb:
mongoconfig:
postgres:
networks:
grpc-web-demo-alva-net:
external: true