Drop comments and lets run with this as is

This commit is contained in:
Luke Murphy 2021-02-15 14:51:08 +01:00
parent 26f00e3b10
commit f17e6ae509
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 17 additions and 30 deletions

View File

@ -1,8 +1,10 @@
TYPE=statping
DOMAIN=statping.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.statping.example.com`'
LETS_ENCRYPT_ENV=production
SITE_NAME="Statping"

View File

@ -2,6 +2,8 @@
Status Page for monitoring your websites and applications with beautiful graphs, analytics, and plugins • https://github.com/statping/statping
See [this wiki page](Ahttps://github.com/statping/statping/wiki/Docker) for more technical Docker related documentation.
## Basic usage
1. Set up Docker Swarm and [`abra`]

View File

@ -6,45 +6,28 @@ services:
image: statping/statping:v0.90.74
networks:
- proxy
- backend
depends_on:
- db
volumes:
- statping:/app
#configs:
# - source: entrypoint_conf
# target: /docker-entrypoint.sh
# mode: 0555
secrets:
- db_password
environment:
VIRTUAL_HOST: localhost
VIRTUAL_PORT: 8080
DB_CONN: sqlite
NAME: ${SITE_NAME}
DESCRIPTION: ${SITE_DESCRIPTION}
#postgres:
# image: postgres:10
# networks:
# - backend
# volumes:
# - postgressql:/var/lib/postgresql/data
# environment:
# POSTGRES_PASSWORD: password123
# POSTGRES_USER: statup
# POSTGRES_DB: statup
volumes:
statping:
#postgresql:
#configs:
# entrypoint_conf:
# name: ${STACK_NAME}_entrypoint_conf_${ENTRYPOINT_CONF_VERSION}
# file: entrypoint.sh.tmpl
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}"
networks:
proxy:
external: true
backend:
volumes:
statping: