Website POC for shakecities https://cities.hnshosting.au
Go to file
Nathan Woodburn c5cc90daac
All checks were successful
Build Docker / Build SLDs Image (push) Successful in 17s
Build Docker / Build Main Image (push) Successful in 20s
fix: Fix copy templates into cities image
2023-11-15 18:06:44 +11:00
.gitea/workflows fix: Fix copy templates into cities image 2023-11-15 18:06:44 +11:00
sites feat: Update city page 2023-11-15 18:03:43 +11:00
templates fix: Fix copy templates into cities image 2023-11-15 18:06:44 +11:00
.gitignore feat: Update city page 2023-11-15 18:03:43 +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 feat: Add HIP02 addresses 2023-11-09 12:13:59 +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: Finish adding v2 layout 2023-11-15 16:24:56 +11:00
proposal.md feat: Add HIP02 addresses 2023-11-09 12:13:59 +11:00
README.md feat: Redirect empty domain to main server 2023-11-09 12:51:35 +11:00
requirements.txt fix: Only remove scripts 2023-11-08 23:27:20 +11:00
server.py fix: DB creation v2 2023-11-08 19:15:23 +11:00

ShakeCities

A joint project between Nathan.Woodburn/ and crymzyn/
ShakeCities is a geocities clone with an emphasis on Handshake domains.
Create a free site on yourname.shakecities/. You control that site and can add whatever you want to it.
Every domain comes enabled with HTTPS via DANE. We have support HIP02 aliases, so you can send HNS to yourname.shakecities/

Deployment

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
      CITY_DOMAIN: exampledomainnathan1
      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
      MAIN_DOMAIN: cities.hnshosting.au
      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: