-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
53 lines (52 loc) · 1.32 KB
/
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
53
version: '3'
services:
image:
image: profile-image:latest
build: ./image-server
volumes:
- ./image-server/upload:/usr/share/nginx/html/upload
environment:
- TITLE=OADW-Image-Server
- DOMAIN=https://avatar.gccollab.ca
- MASTERDELETECODE=changeME
- LOWPROFILE=True
ports:
- "8007:80"
apollo:
build: ./
image: profile-apollo:latest
environment:
NODE_ENV: "production"
PRISMA_API_ENDPOINT: 'prisma'
client_id: "change me"
client_secret: "change me"
MQ_USER: "change me"
MQ_PASS: "change me"
ports:
- "4000:4000"
depends_on:
- prisma
prisma:
image: prismagraphql/prisma:1.26
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
environment:
POSTGRES_USER: prisma
POSTGRES_PASSWORD: prisma
volumes:
- ./postgres:/var/lib/postgresql/data