-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
71 lines (67 loc) · 1.65 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
services:
shell:
build:
context: .
dockerfile: docker/Dockerfile
args:
userid: ${USE_UID:-10001}
groupid: ${USE_GID:-10001}
image: local/obs-common-shell
env_file:
- docker/config/local_dev.env
links:
- fakesentry
- gcs-emulator
- pubsub
volumes:
- .:/app
devcontainer:
build:
dockerfile: .devcontainer/Dockerfile
args:
userid: ${USE_UID:-10001}
groupid: ${USE_GID:-10001}
image: local/obs-common-devcontainer
entrypoint: ["sleep", "inf"]
env_file:
- docker/config/local_dev.env
links:
- fakesentry
- gcs-emulator
- pubsub
volumes:
- .:/app
# https://github.com/willkg/kent
fakesentry:
build:
context: docker/images/fakesentry
image: local/obs-common-fakesentry
ports:
- "${EXPOSE_SENTRY_PORT:-8090}:8090"
command: run --host 0.0.0.0 --port 8090
stop_signal: SIGINT
# https://github.com/fsouza/fake-gcs-server
# Fake GCP GCS server for local development and testing
gcs-emulator:
build:
context: docker/images/gcs-emulator
image: local/obs-common-gcs-emulator
command: -port 8001 -scheme http
ports:
- "${EXPOSE_GCS_EMULATOR_PORT:-8001}:8001"
# https://cloud.google.com/sdk/docs/downloads-docker
# official pubsub emulator
pubsub:
build:
context: docker/images/pubsub-emulator
image: local/obs-common-pubsub-emulator
command:
- gcloud
- beta
- emulators
- pubsub
- start
- --host-port=0.0.0.0:5010
ports:
- "${EXPOSE_PUBSUB_EMULATOR_PORT:-5010}:5010"
stop_signal: SIGINT