| .idea | ||
| assets | ||
| config | ||
| model | ||
| storage | ||
| vpub | ||
| web | ||
| .env.example | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| generate.go | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| Makefile | ||
| README.md | ||
docker deploy of ~m15o/status
this is my edit of status cafe that turns it into a site for embeddable writing updates :) below was written by melo, girlonthemoon.xyz, who amazingly dockerized this, thank u melo also im kinda emabrrassed by this its my first go project ever its not good sorry. anyway melos instructions start now
this is just a clone of ~m15o/status that adds a dockerfile and compose file for containerized deployment. i use this for my own instance of status, synchro.
customization and administration
the following environment variables in .env.example configure administration and customization of the site. please copy the example file to .env for it to work with the compose file.
DATABASE_URL- the value for this will fill in with variables that configure postgres in the same file, which you should change for security.ASSETS_DIR- the value provided should not be changed unless you wish to move the assets folder in the source code. on the host, the asset directory can containstyle2.css, which is mounted over thestyle.cssfile in the container via the compose file, to allow for customization of the site's styling.MANUAL_REGISTRATION- by default this is disabled, which means all users are automatically approved upon registration and are able to post. after registering a user you will use as admin, i recommend setting this to0to enable manual approval of users via the/adminpage.
in web/handler/admin_show.go, you must edit all instances of m15o (IN THIS IT'S aggie not m15o) to reflect your admin account's username, or else you will not be able to access the admin page and approve/deny users.