-
-
Notifications
You must be signed in to change notification settings - Fork 533
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 990 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 990 Bytes
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
services:
sentry-build: &sentry-build
image: ${DOCKER_IMAGE:-sentry-ruby-devcontainer}:${DOCKER_TAG:-latest}
build:
context: ..
dockerfile: .devcontainer/Dockerfile
args:
IMAGE: ${IMAGE}
VERSION: ${VERSION}
volumes:
- ..:/workspace/sentry:cached
working_dir: /workspace/sentry
env_file: [".env"]
sentry-dev:
<<: *sentry-build
entrypoint: ".devcontainer/run --service dev"
command: "sleep infinity"
depends_on:
- redis
sentry-test:
<<: *sentry-build
entrypoint: ".devcontainer/run --service test"
depends_on:
- sentry-test-services
sentry-test-services:
<<: *sentry-build
entrypoint: ".devcontainer/run --service test-services"
command: "foreman start"
ports:
- "${SENTRY_E2E_RAILS_APP_PORT}:4000"
- "${SENTRY_E2E_SVELTE_APP_PORT}:4001"
redis:
image: redis:latest
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- "6379:6379"