Skip to content

Instantly share code, notes, and snippets.

@shatil
Created June 25, 2017 07:14
Show Gist options
  • Save shatil/6686b17158a5675a8d63fdd3427ab572 to your computer and use it in GitHub Desktop.
Save shatil/6686b17158a5675a8d63fdd3427ab572 to your computer and use it in GitHub Desktop.
python3 make.py generated docker-compose.yml
services:
8u121-jre:
command:
- /entrypoint.sh
healthcheck:
test: curl --fail --insecure https://localhost:9443/
image: openjdk:8u121-jre
ports:
- '9000'
- '9443'
volumes:
- ./entrypoint.sh:/entrypoint.sh:ro
- ./svc:/svc:ro
8u121-jre-alpine:
command:
- /entrypoint.sh
healthcheck:
test: curl --fail --insecure https://localhost:9443/
image: openjdk:8u121-jre-alpine
ports:
- '9000'
- '9443'
volumes:
- ./entrypoint.sh:/entrypoint.sh:ro
- ./svc:/svc:ro
client:
command:
- /entrypoint.sh
image: ubuntu:14.04
volumes:
- ./entrypoint.sh:/entrypoint.sh:ro
version: '3'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment