forked from codefordenver/hawthorn-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (46 loc) · 944 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
version: '3'
services:
prisma:
image: prismagraphql/prisma:1.34
depends_on:
- db
restart: always
ports:
- '4466:4466'
networks:
- db
environment:
PRISMA_CONFIG: |
port: 4466
databases:
default:
connector: postgres
host: db
port: 5432
user: ${POSTGRES_USER}
password: ${POSTGRES_PASSWORD}
migrations: true
managementSchema: management
database: root
db:
image: postgres:9.6
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- 5432:5432
networks:
- db
restart: unless-stopped
volumes:
- db_data:/var/lib/postgresql/data
networks:
db:
driver: bridge
search:
driver: bridge
volumes:
db_data:
es_data:
fa_config: