-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
54 lines (48 loc) · 1.51 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
54
version: '2'
services:
pubsub:
image: niallmccullagh/docker-google-cloud-emulators:latest
container_name: gcp-pubsub-emulator
networks:
- main
ports:
- "8538:8538"
command:
/bin/bash -c
"gcloud config set project emulator && gcloud beta emulators pubsub start --data-dir /mnt/data/pubsub --host-port 0.0.0.0:8538"
datastore:
image: niallmccullagh/docker-google-cloud-emulators:latest
container_name: gcp-datastore-emulator
networks:
- main
ports:
- "8432:8432"
command:
/bin/bash -c
"gcloud config set project emulator && gcloud beta emulators datastore start --quiet --data-dir /mnt/data/gcd --host-port 0.0.0.0:8432"
persistent-pubsub:
image: niallmccullagh/docker-google-cloud-emulators:latest
container_name: gcp-pubsub-emulator
volumes:
- ./data/pubsub:/mnt/data/pubsub
networks:
- main
ports:
- "8538:8538"
command:
/bin/bash -c
"gcloud config set project emulator && gcloud beta emulators pubsub start --data-dir /mnt/data/pubsub --host-port 0.0.0.0:8538"
persistent-datastore:
image: niallmccullagh/docker-google-cloud-emulators:latest
container_name: gcp-datastore-emulator
volumes:
- ./data/gcd:/mnt/data/gcd
networks:
- main
ports:
- "8432:8432"
command:
/bin/bash -c
"gcloud config set project emulator && gcloud beta emulators datastore start --quiet --data-dir /mnt/data/gcd --host-port 0.0.0.0:8432"
networks:
main: