AutoDevReverseProxy/docker-compose.yml
2022-11-18 12:01:40 +01:00

24 lines
490 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
- ./script/hostman.sh:/hostman.sh:ro
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy
networks:
proxy:
name: proxy
external: false