26 lines
536 B
YAML
26 lines
536 B
YAML
version: "3.4"
|
|
|
|
services:
|
|
hostman:
|
|
image: apteno/alpine-jq
|
|
command: ["./hostman.sh", "&", "wait", "$!" ]
|
|
volumes:
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
- /etc/hosts:/tmp/hosts:rw
|
|
- ./hostman.sh:/hostman.sh
|
|
networks:
|
|
- reverseproxy
|
|
nginx-proxy:
|
|
image: jwilder/nginx-proxy
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
networks:
|
|
- reverseproxy
|
|
|
|
networks:
|
|
reverseproxy:
|
|
name: reverseproxy
|
|
external: false
|