Dailytxt

Encrypted diary Web application to save your personal memories of each day. Includes a search function and encrypted file upload.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: '3.9'
services:
  dailytxt:
    image: phitux/dailytxt:latest
    container_name: dailytxt
    restart: always
    environment:
      # That's the internal container-port. You can actually use any portnumber (must match with the one at 'ports')
      - PORT=8765
 
      - SECRET_KEY=<openssl rand -base64 32>
 
      # Set it to False or remove the line completely to disallow registration of new users.
      - ALLOW_REGISTRATION=True
 
      # Use this if you want the json log file to be indented. Makes it easier to compare the files. Otherwise just remove this line!
      - DATA_INDENT=2
 
      # Set after how many days the JWT token will expire and you have to re-login. Defaults to 30 days if line is ommited.
      - JWT_EXP_DAYS=60
 
      # Enable/disable a feature of DailyTxT to auto-check maximal once per hour if there's a newer version of DailyTxT available. Defaults to True if line is ommited.
      - ENABLE_UPDATE_CHECK=True
    ports:
      - "127.0.0.1:<host_port>:8765"
      # perhaps you only want:
      # "<host_port>:8765"
    volumes:
      - "</save/my/dailytxt-files/here/>:/app/data/"
      # Or perhaps if using on a windows enviroment:
      # "C:/Users/example/dailytxt/:/app/data"

Resources

GitHub: https://github.com/PhiTux/DailyTxT

Docker Hub: https://hub.docker.com/r/phitux/dailytxt/

Configuration: https://github.com/PhiTux/DailyTxT#installation