Website POC for shakecities https://cities.hnshosting.au
Go to file
Nathan Woodburn 7b4619cead
All checks were successful
Build Docker / Build Main Image (push) Successful in 39s
Build Docker / Build SLDs Image (push) Successful in 40s
fix: Use more strict sanitation
2023-11-08 23:04:21 +11:00
.gitea/workflows fix: Stop copying .env 2023-11-08 18:27:01 +11:00
sites fix: Use more strict sanitation 2023-11-08 23:04:21 +11:00
templates feat: Add site edit 2023-11-08 20:43:33 +11:00
.gitignore feat: Initial code 2023-11-08 17:55:49 +11:00
accounts.py fix: Don't allow user to create account with existing domain 2023-11-08 22:31:39 +11:00
db.py fix: Don't allow user to create account with existing domain 2023-11-08 22:31:39 +11:00
Dockerfile fix: Remove mounting data for frontends 2023-11-08 18:28:33 +11:00
LICENSE.md Initial commit 2023-11-08 16:42:47 +11:00
main.py feat: Add site edit 2023-11-08 20:43:33 +11:00
README.md feat: Add mariaDB backend 2023-11-08 19:02:29 +11:00
requirements.txt fix: Use more strict sanitation 2023-11-08 23:04:21 +11:00
server.py fix: DB creation v2 2023-11-08 19:15:23 +11:00

shakecities

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

  sites:
    image: git.woodburn.au/nathanwoodburn/shakecities-sites:latest
    depends_on:
      - db
    environment:
      DB_HOST: db
      DB_USER: main
      DB_PASSWORD: your-db-password
      DB_NAME: main
      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: