Find a file
2023-07-22 21:32:11 +05:00
.github Bump docker/build-push-action from 4.0.0 to 4.1.1 2023-07-21 00:48:09 +05:00
assets Change padding and size of links 2023-07-21 20:26:55 +05:00
config Add more settings, update readme and Dockerfile 2023-07-22 21:32:11 +05:00
database Rename 'backend' module to 'database' 2023-07-22 15:24:01 +05:00
templates Change path to API. 2023-07-22 20:59:40 +05:00
views Add more settings, update readme and Dockerfile 2023-07-22 21:32:11 +05:00
.env Add more settings, update readme and Dockerfile 2023-07-22 21:32:11 +05:00
.gitignore Initial commit 2023-04-06 10:36:11 +05:00
Dockerfile Add more settings, update readme and Dockerfile 2023-07-22 21:32:11 +05:00
go.mod Start using JWT tokens 2023-07-22 13:42:43 +05:00
go.sum Start using JWT tokens 2023-07-22 13:42:43 +05:00
license.txt Create license.txt 2023-04-09 20:03:27 +05:00
main.go Add more settings, update readme and Dockerfile 2023-07-22 21:32:11 +05:00
Makefile Simplify makefile 2023-07-21 00:54:03 +05:00
readme.md Add more settings, update readme and Dockerfile 2023-07-22 21:32:11 +05:00
screenshot.webp Add a screenshot 2023-04-09 12:22:50 +05:00

Phoenix

Screenshot

Self-hosted start page without the extra stuff.

Features

  • No javascript
  • Relatively low resource consumption (around 7 MiB of RAM)
  • Authorization support

Configuration

Service settings can be set through environment variables.

Variable Description Default
P_DBPATH Path to the sqlite database. Docker: /var/lib/phoenix/db.sqlite3
P_SECRETKEY A long and random secret string used for authorization.
P_LOGLEVEL Log level settings: debug, info, warning, error, fatal warning
P_ENABLEGINLOGGER Enable gin's logging middleware. Can create a lot of logs. false
P_PRODUCTION Is this instance running in production mode? true
P_DEFAULTUSERNAME Data for the first user.
P_DEFAULTPASSWORD Data for the first user.

Docker-compose example

services:
  phoenix:
    image: ghcr.io/ordinary-dev/phoenix
    volumes:
      - phoenix:/var/lib/phoenix
    ports:
      - 80:8080
    environment:
      P_SECRETKEY: "your-random-string"
      P_DEFAULTUSERNAME: "admin"
      P_DEFAULTPASSWORD: "super-password"
    restart: unless-stopped

volumes:
  phoenix: