Demo: Remove settings.yml on restart
This commit is contained in:
parent
c7121bc988
commit
18dc2a813a
2 changed files with 4 additions and 1 deletions
|
@ -3,7 +3,8 @@ all: restart
|
|||
restart:
|
||||
docker-compose pull demo
|
||||
docker-compose stop demo
|
||||
docker-compose up -d --force-recreate demo
|
||||
find config -type f -name 'settings.yml' -delete
|
||||
docker-compose up -d -V --force-recreate demo
|
||||
install:
|
||||
docker-compose pull
|
||||
docker-compose stop
|
||||
|
|
|
@ -13,6 +13,8 @@ services:
|
|||
- "traefik.http.routers.demo.rule=Host(`demo.yourdomain.com`)"
|
||||
- "traefik.http.routers.demo.tls=true"
|
||||
- "traefik.http.routers.demo.tls.certresolver=myresolver"
|
||||
volumes:
|
||||
- "./config:/photoprism/storage/config"
|
||||
environment:
|
||||
PHOTOPRISM_SITE_URL: "https://demo.yourdomain.com/"
|
||||
# PHOTOPRISM_CDN_URL: "https://demo-cdn.yourdomain.com/"
|
||||
|
|
Loading…
Reference in a new issue