Compare commits

..

No commits in common. "development" and "production" have entirely different histories.

2 changed files with 5 additions and 18 deletions

View File

@ -1,12 +1,7 @@
--- ---
services: services:
shortpaste: app:
image: adyanth/shortpaste:${SHORTPASTE_VERSION}
restart: unless-stopped restart: unless-stopped
environment:
- SP_STORAGE_PATH=/data
- SP_USERNAME=${SHORTPASTE_ADMIN_USER}
- SP_PASSWORD=${SHORTPASTE_ADMIN_PASS}
labels: labels:
### Section Træfik ### Section Træfik
- traefik.enable=${TRAEFIK_ENABLED} - traefik.enable=${TRAEFIK_ENABLED}
@ -32,8 +27,6 @@ services:
- diun.sort_tags=${DIUN_SORTALGO} - diun.sort_tags=${DIUN_SORTALGO}
- diun.include_tags=${DIUN_INCLUDE} - diun.include_tags=${DIUN_INCLUDE}
- diun.exclude_tags=${DIUN_EXCLUDE} - diun.exclude_tags=${DIUN_EXCLUDE}
volumes:
- ${SHORTPASTE_DATA}:/data
networks: networks:
- traefik - traefik

View File

@ -1,10 +1,10 @@
# Træfik # Træfik
TRAEFIK_ENABLED=true TRAEFIK_ENABLED=true
TRAEFIK_NETWORK=traefik TRAEFIK_NETWORK=traefik
TRAEFIK_ROUTER=shortpaste_example_com TRAEFIK_ROUTER=app_example_com
TRAEFIK_SERVICE=shortpaste_example_com TRAEFIK_SERVICE=app_example_com
TRAEFIK_SERVICE_PORT=8080 TRAEFIK_SERVICE_PORT=80
TRAEFIK_MATCHRULE=Host(`shortpaste.example.com`) TRAEFIK_MATCHRULE=Host(`app.example.com`)
TRAEFIK_TLSENABLED=true TRAEFIK_TLSENABLED=true
TRAEFIK_CERTRESOLVER=letsencrypt TRAEFIK_CERTRESOLVER=letsencrypt
TRAEFIK_HTTP_MIDDLEWARES=http-to-https TRAEFIK_HTTP_MIDDLEWARES=http-to-https
@ -16,9 +16,3 @@ DIUN_WATCHREPO=true
DIUN_SORTALGO=semver DIUN_SORTALGO=semver
DIUN_INCLUDE= DIUN_INCLUDE=
DIUN_EXCLUDE= DIUN_EXCLUDE=
# Short{Paste}
SHORTPASTE_VERSION=latest
SHORTPASTE_DATA=./data
SHORTPASTE_ADMIN_USER=admin
SHORTPASTE_ADMIN_PASS=admin