Files
custom-html-tiny/compose.yml
Cassowary Rusnov 3cb41c2613
All checks were successful
continuous-integration/drone/push Build is passing
chore: publish 0.1.0+0.2.29 release
2023-04-27 14:20:48 -07:00

33 lines
884 B
YAML

---
version: "3.8"
services:
app:
image: git.coopcloud.tech/coop-cloud-chaos-patchs/thttpd:0.2.29
command: ["-D", "-l", "/dev/stderr", "-d", "/var/www/http/$HTTP_SUBDIR"]
networks:
- proxy
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
# Redirect from EXTRA_DOMAINS to DOMAIN
- "coop-cloud.${STACK_NAME}.version=0.1.0+0.2.29"
environment:
- HTTP_SUBDIR
volumes:
- content:/var/www/http
volumes:
content:
networks:
proxy:
external: true