dockerized status.cafe
Find a file
2026-03-11 19:38:03 +00:00
assets first 2026-03-11 19:14:41 +00:00
config first 2026-03-11 19:14:41 +00:00
model first 2026-03-11 19:14:41 +00:00
storage first 2026-03-11 19:14:41 +00:00
vpub first 2026-03-11 19:14:41 +00:00
web first 2026-03-11 19:14:41 +00:00
.env.example first 2026-03-11 19:14:41 +00:00
.gitignore first 2026-03-11 19:14:41 +00:00
docker-compose.yml first 2026-03-11 19:14:41 +00:00
Dockerfile first 2026-03-11 19:14:41 +00:00
generate.go first 2026-03-11 19:14:41 +00:00
go.mod first 2026-03-11 19:14:41 +00:00
go.sum first 2026-03-11 19:14:41 +00:00
LICENSE first 2026-03-11 19:14:41 +00:00
main.go first 2026-03-11 19:14:41 +00:00
Makefile first 2026-03-11 19:14:41 +00:00
README.md readme 2026-03-11 19:38:03 +00:00

docker deploy of ~m15o/status

this is just a clone of ~m15o/status that adds a dockerfile and compose file for containerized deployment. this is credited to melo of girlonthemoon.xyz; i just made a few edits.

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 contain style2.css, which is mounted over the style.css file 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 to 0 to enable manual approval of users via the /admin page.

in web/handler/admin_show.go, you must edit all instances of m15o to reflect your admin account's username, or else you will not be able to access the admin page and approve/deny users.