21 lines
876 B
Markdown
21 lines
876 B
Markdown
# Rusty Catter
|
|
|
|
Re-implementation of [Catter](https://github.com/lilianalillyy/lilianaa.dev/tree/main/catter), a small project originally written in PHP for serving pictures of my cats.
|
|
Code is very WIP. The entities are generated by SeaORM CLI based on the current database schema. May (probably will) change.
|
|
|
|
## Environment variables
|
|
|
|
| Variable | Description |
|
|
| ------------ | -------------------------------- |
|
|
| HOST | Hostname of the server |
|
|
| PORT | Port of the server |
|
|
| DATABASE_URL | Database URL to the MySQL server |
|
|
|
|
### Docker env vars
|
|
|
|
Docker setup is essentially the same as in the original PHP project, just without php-fpm & nginx. Environment variables have changed:
|
|
|
|
- `MYSQL_*` -> `DOCKER_MYSQL_*`
|
|
- `MYSQL_PORT` -> `DOCKER_EXPOSED_MYSQL_PORT`
|
|
- `ADMINER_PORT` -> `DOCKER_ADMINER_PORT`
|