this repo has no description
at main 641 B view raw
1services: 2 proxy: 3 image: caddy:2-alpine 4 command: > 5 caddy 6 reverse-proxy 7 --from ${KNOT_SERVER_HOSTNAME} 8 --to knotserver:5555 9 depends_on: 10 - knotserver 11 ports: 12 - "443:443" 13 volumes: 14 - caddy_data:/data 15 restart: always 16 17 knotserver: 18 build: 19 context: . 20 dockerfile: Dockerfile 21 environment: 22 - KNOT_SERVER_HOSTNAME=${KNOT_SERVER_HOSTNAME} 23 - KNOT_SERVER_SECRET=${KNOT_SERVER_SECRET} 24 volumes: 25 - knot_data:/home/git 26 - knot_keys:/etc/ssh/keys 27 ports: 28 - "2222:22" 29 restart: always 30 31volumes: 32 caddy_data: 33 knot_data: 34 knot_keys: