Handshake link shortener https://linkr
Go to file
Nathan Woodburn 994ca7e1e7
All checks were successful
Build Docker / Build Main Image (push) Successful in 32s
fix: Typo in regex
2023-11-17 00:24:05 +11:00
.gitea/workflows feat: Initial code push 2023-11-17 00:06:02 +11:00
templates feat: Initial code push 2023-11-17 00:06:02 +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: Initial code push 2023-11-17 00:06:02 +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 fix: Typo in regex 2023-11-17 00:24:05 +11:00
README.md fix: Verify link using regex 2023-11-17 00:21:57 +11:00
render.py feat: Initial code push 2023-11-17 00:06:02 +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
      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: