shakecities/README.md

56 lines
1.5 KiB
Markdown
Raw Normal View History

2023-11-09 12:13:59 +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/
2023-11-08 19:02:24 +11:00
2023-11-09 12:13:59 +11:00
### Deployment
2023-11-08 19:02:24 +11:00
```
version: '3'
services:
main:
image: git.woodburn.au/nathanwoodburn/shakecities:latest
depends_on:
- db
2023-11-18 11:39:07 +11:00
volumes:
- images:/data
2023-11-08 19:02:24 +11:00
environment:
DB_HOST: db
DB_USER: main
DB_PASSWORD: your-db-password
DB_NAME: main
CITY_DOMAIN: exampledomainnathan1
2023-11-16 15:52:59 +11:00
REG_KEY: <your-varo-apikey>
CITY_ALIAS: city.hnshosting.au # ICANN domain that points to the IP for the cities server
2023-11-18 11:39:07 +11:00
MAIN_DOMAIN: cities.hnshosting.au
2023-11-08 19:02:24 +11:00
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
2023-11-08 19:02:24 +11:00
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:
2023-11-18 11:39:07 +11:00
images:
2023-11-08 19:02:24 +11:00
```