-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.override.yml
40 lines (40 loc) · 1021 Bytes
/
docker-compose.override.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
version: "3"
services:
prisma:
image: prismagraphql/prisma:1.34
restart: always
ports:
- 4466:4466
environment:
PRISMA_CONFIG: |
port: 4466
# uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
# managementApiSecret: my-secret
databases:
default:
connector: mongo
uri: 'mongodb://prisma:prisma@mongo'
mongo:
image: mongo:5.0
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: prisma
MONGO_INITDB_ROOT_PASSWORD: prisma
ports:
- 27017:27017
volumes:
- mongo:/var/lib/mongo
redis:
image: bitnami/redis:latest
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
- REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
restart: always
ports:
- 6379:6379
volumes:
- redis_data:/bitnami/redis/data
volumes:
redis_data:
mongo: