-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
44 lines (42 loc) · 904 Bytes
/
docker-compose.yaml
File metadata and controls
44 lines (42 loc) · 904 Bytes
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
version: '3'
services:
redis:
container_name: redis
image: redis:latest
ports:
- 6379:6379
command:
- redis-server
- --appendonly
- 'yes'
volumes:
- ./tmp/volumes/redis:/data
prisma:
image: prismagraphql/prisma:1.9
ports:
- "4466:4466"
environment:
PRISMA_CONFIG: |
managementApiSecret: not-a-secret
port: 4466
databases:
default:
connector: postgres
host: postgres
port: 5432
user: root
password: prisma
migrations: true
managementSchema: management
database: prisma
links:
- postgres
postgres:
image: postgres:latest
ports:
- "5432:5432"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: prisma
volumes:
- ./tmp/volumes/postgres:/var/lib/postgresql/data