Compare commits
No commits in common. "development" and "production" have entirely different histories.
developmen
...
production
@ -1,12 +1,7 @@
|
||||
---
|
||||
services:
|
||||
shortpaste:
|
||||
image: adyanth/shortpaste:${SHORTPASTE_VERSION}
|
||||
app:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SP_STORAGE_PATH=/data
|
||||
- SP_USERNAME=${SHORTPASTE_ADMIN_USER}
|
||||
- SP_PASSWORD=${SHORTPASTE_ADMIN_PASS}
|
||||
labels:
|
||||
### Section Træfik
|
||||
- traefik.enable=${TRAEFIK_ENABLED}
|
||||
@ -32,8 +27,6 @@ services:
|
||||
- diun.sort_tags=${DIUN_SORTALGO}
|
||||
- diun.include_tags=${DIUN_INCLUDE}
|
||||
- diun.exclude_tags=${DIUN_EXCLUDE}
|
||||
volumes:
|
||||
- ${SHORTPASTE_DATA}:/data
|
||||
networks:
|
||||
- traefik
|
||||
|
||||
|
14
env.example
14
env.example
@ -1,10 +1,10 @@
|
||||
# Træfik
|
||||
TRAEFIK_ENABLED=true
|
||||
TRAEFIK_NETWORK=traefik
|
||||
TRAEFIK_ROUTER=shortpaste_example_com
|
||||
TRAEFIK_SERVICE=shortpaste_example_com
|
||||
TRAEFIK_SERVICE_PORT=8080
|
||||
TRAEFIK_MATCHRULE=Host(`shortpaste.example.com`)
|
||||
TRAEFIK_ROUTER=app_example_com
|
||||
TRAEFIK_SERVICE=app_example_com
|
||||
TRAEFIK_SERVICE_PORT=80
|
||||
TRAEFIK_MATCHRULE=Host(`app.example.com`)
|
||||
TRAEFIK_TLSENABLED=true
|
||||
TRAEFIK_CERTRESOLVER=letsencrypt
|
||||
TRAEFIK_HTTP_MIDDLEWARES=http-to-https
|
||||
@ -16,9 +16,3 @@ DIUN_WATCHREPO=true
|
||||
DIUN_SORTALGO=semver
|
||||
DIUN_INCLUDE=
|
||||
DIUN_EXCLUDE=
|
||||
|
||||
# Short{Paste}
|
||||
SHORTPASTE_VERSION=latest
|
||||
SHORTPASTE_DATA=./data
|
||||
SHORTPASTE_ADMIN_USER=admin
|
||||
SHORTPASTE_ADMIN_PASS=admin
|
||||
|
Reference in New Issue
Block a user