-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-dev.yml
45 lines (44 loc) · 1.05 KB
/
docker-compose-dev.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
version: '3'
services:
image:
build: ./image-server
volumes:
- image_server:/usr/share/nginx/html/upload
environment:
- TITLE=OADW-Image-Server
- DOMAIN=http://localhost:8007
- MASTERDELETECODE=changeMe
- LOWPROFILE=True
ports:
- "8007:80"
prisma:
image: prismagraphql/prisma:1.26
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: thehouseisalwaysblue
databases:
default:
connector: postgres
host: postgres
port: 5432
user: prisma
password: prisma
migrations: true
depends_on:
- postgres
postgres:
image: postgres:10.6
ports:
- 5432:5432
environment:
POSTGRES_USER: prisma
POSTGRES_PASSWORD: prisma
volumes:
- postgres:/var/lib/postgresql/data
volumes:
postgres:
image_server: