-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (34 loc) · 986 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
# google cloud authentication,
# stores login data in ~/.config/gcloud which is mounted to the container
#
# gcloud auth application-default login
#
version: '3'
services:
gallery:
image: gcr.io/${GCLOUD_PROJECT_ID}/gallery-service
#build: gallery/.
ports:
- "9000:9000"
command:
["--gcp.bucket-name=${GCLOUD_STORAGE_BUCKET}"]
volumes:
- "~/.config/gcloud:/root/.config/gcloud"
upload:
image: gcr.io/${GCLOUD_PROJECT_ID}/upload-service
#build: upload/.
ports:
- "8080:8080"
links:
- "generator:generator"
command:
["--thumbnail-service.hostname=generator", "--thumbnail-service.port=8888", "--gcp.bucket-name=${GCLOUD_STORAGE_BUCKET}"]
volumes:
- "~/.config/gcloud:/root/.config/gcloud"
generator:
image: gcr.io/${GCLOUD_PROJECT_ID}/generator-service
#build: generator/.
command:
["--gcp.bucket-name=${GCLOUD_STORAGE_BUCKET}"]
volumes:
- "~/.config/gcloud:/root/.config/gcloud"