-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
70 lines (65 loc) · 1.53 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
---
services:
# Base container is used for development tasks like tests, linting,
# and building docs.
base:
build:
context: .
dockerfile: docker/Dockerfile
args:
userid: ${USE_UID:-10001}
groupid: ${USE_GID:-10001}
image: eliot:build
env_file:
- docker/config/local_dev.env
- .env
# Symbolicator service
eliot:
extends:
service: base
ports:
- "${EXPOSE_ELIOT_PORT:-8000}:8000"
depends_on:
- fakesentry
- statsd
links:
- fakesentry
- statsd
command: ["eliot"]
# Container specifically for running tests.
test:
extends:
service: base
env_file:
- docker/config/local_dev.env
- docker/config/test.env
links:
- fakesentry
- statsd
devcontainer:
extends:
service: test
build:
dockerfile: .devcontainer/Dockerfile
args:
userid: ${USE_UID:-10001}
groupid: ${USE_GID:-10001}
image: eliot-devcontainer
entrypoint: ["sleep", "inf"]
stop_signal: SIGKILL # Doesn't seem to respond to anything else
volumes:
- $PWD:/app
# https://github.com/willkg/kent
fakesentry:
build:
context: docker/images/fakesentry
image: local/eliot_fakesentry
ports:
- "${EXPOSE_SENTRY_PORT:-8090}:8090"
command: run --host 0.0.0.0 --port 8090
stop_signal: SIGINT
# https://hub.docker.com/r/hopsoft/graphite-statsd/
statsd:
image: hopsoft/graphite-statsd:latest
ports:
- "${EXPOSE_GRAFANA_PORT:-8081}:80"