-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (47 loc) · 913 Bytes
/
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
version: '3.1'
services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: terminalco
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- terminalco
adminer:
image: adminer
restart: always
ports:
- 8881:8080
networks:
- terminalco
postgraphile:
build: ./postgraphile
networks:
- terminalco
ports:
- 3003:3000
environment:
DATABASE_URL: postgres://postgres:terminalco@db:5432/terminal
graphql:
build: ./graphql
networks:
- terminalco
ports:
- 3004:4000
environment:
DATABASE_URL: postgres://postgres:terminalco@db:5432/terminal
importer:
build: ./importer
environment:
DB_NAME: terminal
DB_HOST: db
DB_PASS: terminalco
DB_SCHEMA: public
networks:
- terminalco
volumes:
pgdata:
networks:
terminalco: