This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
statping/compose.yml

31 lines
856 B
YAML

version: "3.8"
services:
app:
image: statping/statping:v0.90.74
networks:
- proxy
volumes:
- statping:/app
environment:
VIRTUAL_HOST: localhost
VIRTUAL_PORT: 8080
DB_CONN: sqlite
NAME: ${SITE_NAME}
DESCRIPTION: ${SITE_DESCRIPTION}
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- coop-cloud.${STACK_NAME}.app.version=v0.90.74-e874da51
networks:
proxy:
external: true
volumes:
statping: