# 2023-09-26 # Stack: hastebin --- hastebin: name: "hastebin" tasks: - hastebin.yml ipv6: true traefik: true directories: - "{{ stack_folder_conf }}/hastebin/conf" services: - name: "hastebin" image: "derkades/hastebin:latest" uid: "0" gid: "0" restart: "unless-stopped" ports: - { exposed: "${VM_PORT_HASTEBIN}", container: "7777" } healthcheck: 'wget --no-verbose --tries=1 --spider http://0.0.0.0:7777/ || exit 1' environment: - { name: "STORAGE_TYPE", value: "redis" } - { name: "STORAGE_HOST", value: "${MASTER_HOST}" } - { name: "STORAGE_PORT", value: "${VM_PORT_REDIS}" } volumes: - { local: './{{ stack_folder_conf }}/hastebin/conf/config.js', container: '/app/config.js', mode: 'rw' } traefik: routers: - { name: "hastebin", rule: "Host(`{{ vm_subdomain_hastebin }}.{{ vm_internet_domain }}`)", middlewares: "default@file, errors@docker" } services: []