Sign inSign up

phitux/dailytxt

By phitux

•Updated about 1 month ago

Encrypted Diary Web-App written in Svelte and Go.

Image
8

100K+

phitux/dailytxt repository overview

See the github repo⁠ for the detailed explanations!!!

⁠Quickstart

Use the following docker-compose.yml file:

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
Adapt it to your needs and then run
```bash
docker-compose up -d

Tag summary

Content type

Image

Digest

sha256:87f023301…

Size

12.3 MB

Last updated

about 1 month ago

docker pull phitux/dailytxt