-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (46 loc) · 1.05 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
version: '3.9'
services:
stock.postgres:
container_name: qrioso_postgres
networks:
- qrioso_net
image: postgres:14.1-alpine3.14
# volumes:
# - ./_cache/postgres:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: 'passwd'
POSTGRES_USER: postgres
POSTGRES_DB: 'qrioso_db'
PGDATA: '/var/lib/postgresql/data'
ports:
- 5432:5432
# stock.service:
# container_name: stock_service
# networks:
# - qrioso_stock_net
# build:
# context: .
# dockerfile: ./docker/service/Dockerfile.dev
# image: qrioso_stock_service
# volumes:
# - .:/app
# - /app/node_modules/
# ports:
# - 3000:3000
# depends_on:
# - stock.postgres
# - stock.api
# stock.api:
# container_name: stock_api
# networks:
# - qrioso_stock_net
# build:
# context: .
# dockerfile: ./docker/api/Dockerfile.dev
# image: qrioso_stock_api
# volumes:
# - .:/app
# - /app/node_modules/
networks:
qrioso_net:
name: qrioso_net