diff --git a/swarm/dailytxt.yaml b/swarm/dailytxt.yaml new file mode 100644 index 0000000..5361f8b --- /dev/null +++ b/swarm/dailytxt.yaml @@ -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 \ No newline at end of file diff --git a/swarm/kopia.yaml b/swarm/kopia.yaml index 7ac7734..37fd142 100644 --- a/swarm/kopia.yaml +++ b/swarm/kopia.yaml @@ -4,7 +4,8 @@ services: container_name: kopia hostname: kopia restart: unless-stopped - user: "1964:1964" + user: "1964: + 1964" ports: - 51515:51515 environment: @@ -27,7 +28,7 @@ services: - /DockerVol/kopia/config:/app/config - /DockerVol/kopia/cache:/app/cache - /DockerVol/kopia/cert:/app/cert - - /srv/kopia_repository:/repository + - /srv/vault/kopia_repository:/repository - /DockerVol/kopia/logs:/app/logs networks: - netgrimoire