forked from launchdarkly/ld-relay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
44 lines (36 loc) · 1.15 KB
/
docker-compose.test.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
version: "2"
services:
relay-debian:
build:
context: .
dockerfile: Dockerfile.debian-test
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
relay-centos:
build:
context: .
dockerfile: Dockerfile.centos-test
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
relay-docker:
image: launchdarkly/ld-relay
env_file:
- smoke-test.env
relay-docker-standalone:
build: .
env_file:
- smoke-test.env
test-centos:
image: cimg/go:1.13
command: bash -c "dockerize -wait http://relay-centos:8030/status -timeout 5s; curl http://relay-centos:8030/status"
test-debian:
image: cimg/go:1.13
command: bash -c "dockerize -wait http://relay-debian:8030/status -timeout 5s; curl http://relay-debian:8030/status"
test-docker:
image: cimg/go:1.13
command: bash -c "dockerize -wait http://relay-docker:8030/status -timeout 5s; curl http://relay-docker:8030/status"
test-docker-standalone:
image: cimg/go:1.13
command: bash -c "dockerize -wait http://relay-docker:8030/status -timeout 5s; curl http://relay-docker-standalone:8030/status"