kopia repository move
This commit is contained in:
parent
7e49e3679f
commit
eb06d80018
2 changed files with 37 additions and 2 deletions
34
swarm/dailytxt.yaml
Normal file
34
swarm/dailytxt.yaml
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
services:
|
||||||
|
dailytxt:
|
||||||
|
# choose the correct image tag
|
||||||
|
image: phitux/dailytxt:2.x.x
|
||||||
|
container_name: dailytxt
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
# Change the left path to your needs
|
||||||
|
- ./data:/data
|
||||||
|
environment:
|
||||||
|
# Create a secret token by running: openssl rand -base64 32
|
||||||
|
- SECRET_TOKEN=...
|
||||||
|
|
||||||
|
# If you want to have the json-files pretty-printed, set some indent.
|
||||||
|
# (Otherwise just remove the line)
|
||||||
|
- INDENT=4
|
||||||
|
|
||||||
|
# Allow new user registrations.
|
||||||
|
# I strongly recommend to keep this disabled except for the first user.
|
||||||
|
# You can later temporarily enable it again in the admin panel.
|
||||||
|
- ALLOW_REGISTRATION=true
|
||||||
|
|
||||||
|
# Set the Admin-Password (for the admin-panel).
|
||||||
|
- ADMIN_PASSWORD=your_admin_password
|
||||||
|
|
||||||
|
# After how many days shall the login-cookie expire?
|
||||||
|
- LOGOUT_AFTER_DAYS=40
|
||||||
|
|
||||||
|
# Set the BASE_PATH if you are running DailyTxT under a subpath (e.g. /dailytxt).
|
||||||
|
# - BASE_PATH=/dailytxt
|
||||||
|
ports:
|
||||||
|
# Change the left port to your needs.
|
||||||
|
# You often would only see 8000:80. But this way, port 8000 is publicly accessible (without TLS!).
|
||||||
|
- 127.0.0.1:8000:80
|
||||||
|
|
@ -4,7 +4,8 @@ services:
|
||||||
container_name: kopia
|
container_name: kopia
|
||||||
hostname: kopia
|
hostname: kopia
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
user: "1964:1964"
|
user: "1964:
|
||||||
|
1964"
|
||||||
ports:
|
ports:
|
||||||
- 51515:51515
|
- 51515:51515
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -27,7 +28,7 @@ services:
|
||||||
- /DockerVol/kopia/config:/app/config
|
- /DockerVol/kopia/config:/app/config
|
||||||
- /DockerVol/kopia/cache:/app/cache
|
- /DockerVol/kopia/cache:/app/cache
|
||||||
- /DockerVol/kopia/cert:/app/cert
|
- /DockerVol/kopia/cert:/app/cert
|
||||||
- /srv/kopia_repository:/repository
|
- /srv/vault/kopia_repository:/repository
|
||||||
- /DockerVol/kopia/logs:/app/logs
|
- /DockerVol/kopia/logs:/app/logs
|
||||||
networks:
|
networks:
|
||||||
- netgrimoire
|
- netgrimoire
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue