2
0
mirror of https://github.com/cmehay/pyentrypoint synced 2024-10-30 15:21:11 +00:00
pyentrypoint/docker-compose.yml

76 lines
1.3 KiB
YAML
Raw Normal View History

2015-11-10 00:27:12 +00:00
testpython3:
build: .
dockerfile: Dockerfile.py3
links:
- test1
- test2
- test3
- test4
2016-03-05 00:37:28 +00:00
volumes:
- ./pyentrypoint:/opt/pyentrypoint:ro
- ./tests:/opt/tests
2015-11-10 00:27:12 +00:00
testpython2:
build: .
dockerfile: Dockerfile.py2
2016-05-08 15:11:01 +00:00
links:
- test1
- test2
- test3
- test4
volumes:
- ./pyentrypoint:/opt/pyentrypoint:ro
- ./tests:/opt/tests
testpython3_debug:
build: .
dockerfile: Dockerfile.py3
command: ["py.test", "--verbose", "-s", "-rw", "."]
links:
- test1
- test2
- test3
- test4
volumes:
- ./pyentrypoint:/opt/pyentrypoint:ro
- ./tests:/opt/tests
testpython2_debug:
build: .
dockerfile: Dockerfile.py2
command: ["py.test", "--verbose", "-s", "-rw", "."]
2015-11-10 00:27:12 +00:00
links:
- test1
- test2
- test3
- test4
2016-03-05 00:37:28 +00:00
volumes:
- ./pyentrypoint:/opt/pyentrypoint:ro
- ./tests:/opt/tests
2015-11-10 00:27:12 +00:00
test1:
image: busybox
command: sleep 30
expose:
- 800
- 8001/udp
environment:
FOO: bar
test2:
image: busybox
command: sleep 30
expose:
- 800/udp
- 8001
test3:
image: busybox
command: sleep 30
environment:
FOO: bar
test4:
image: busybox
command: sleep 30