Handshake link shortener https://linkr
Go to file
Nathan Woodburn d0985a8c1f
All checks were successful
Build Docker / Build Main Image (push) Successful in 33s
feat: Add analytics
2023-12-13 14:51:10 +11:00
.gitea/workflows feat: Initial code push 2023-11-17 00:06:02 +11:00
templates feat: Add analytics 2023-12-13 14:51:10 +11:00
.gitignore feat: Initial code push 2023-11-17 00:06:02 +11:00
account.py feat: Initial code push 2023-11-17 00:06:02 +11:00
db.py feat: Allow admin to delete any link 2023-11-17 12:08:13 +11:00
Dockerfile feat: Initial code push 2023-11-17 00:06:02 +11:00
LICENSE.md Initial commit 2023-11-16 21:46:09 +11:00
main.py feat: Add analytics 2023-12-13 14:51:10 +11:00
README.md feat: Add admin domain 2023-11-17 11:05:06 +11:00
render.py feat: Show link owner on admin dash 2023-11-17 11:17:03 +11:00
requirements.txt feat: Initial code push 2023-11-17 00:06:02 +11:00
server.py feat: Initial code push 2023-11-17 00:06:02 +11:00
varo_auth.py feat: Initial code push 2023-11-17 00:06:02 +11:00

linkr

Deployment

version: '3'
services:
  main:
    image: git.woodburn.au/nathanwoodburn/linkr:latest
    depends_on:
      - db
    environment:
      DB_HOST: db
      DB_USER: main
      DB_PASSWORD: your-db-password
      DB_NAME: main
      DNS_SERVER: 10.1.1.2
      DNS_SERVER_PORT: 5350
      ADMIN_DOMAIN: nathan.woodburn
      WORKERS: 2 # number of workers to run (should be 2 * number of cores)

  db:
    image: linuxserver/mariadb:latest
    environment:
      MYSQL_ROOT_PASSWORD: your-root-password
      MYSQL_DATABASE: main
      MYSQL_USER: main
      MYSQL_PASSWORD: your-db-password
    volumes:
      - db_data:/var/lib/mysql
volumes:
  db_data: