Go to file
Renovate [bot] dbbf76f243 fix(deps): update dependency pg to v8.10.0 2023-03-27 06:51:01 +00:00
.yarn chore(deps): update yarn to v3.4.1 2023-03-14 19:54:47 +08:00
src feat: allow changing host to listen on 2023-01-02 13:11:45 +08:00
.dockerignore feat: add docker compose 2023-01-02 13:10:45 +08:00
.editorconfig feat: post item and fetch stats 2022-12-31 15:57:10 +08:00
.env.example feat: post item and fetch stats 2022-12-31 15:57:10 +08:00
.gitignore docs: docker compose 2023-01-02 13:23:46 +08:00
.yarnrc.yml chore(deps): update yarn to v3.4.1 2023-03-14 19:54:47 +08:00
Dockerfile fix(docker): wait for psql to be ready 2023-01-02 13:11:27 +08:00
LICENSE Initial commit 2022-12-31 11:04:27 +08:00
README.md docs: docker compose 2023-01-02 13:23:46 +08:00
compose.override.yml.example docs: docker compose 2023-01-02 13:23:46 +08:00
compose.yml fix(compose): fix psql dir 2023-01-02 13:48:50 +08:00
entrypoint.sh fix(docker): wait for psql to be ready 2023-01-02 13:11:27 +08:00
package.json chore(deps): update yarn to v3.4.1 2023-03-14 19:54:47 +08:00
renovate.json chore(deps): add renovate.json 2023-01-02 13:13:27 +08:00
yarn.lock fix(deps): update dependency pg to v8.10.0 2023-03-27 06:51:01 +00:00

failure-restaurant-db

Welcome to failure-restaurant-db. This codebase contains the bare-minimum necessary for the operation of the stats module of the FO ordering app.

Setup

Setup should be as easy as following.

$ git clone https://patchy.soopy.moe/mizuki/failure-restaurant-db
$ cd failure-restaurant-db
$ yarn install

You should then copy .env.example to .env, and edit the items accordingly. Every item is necessary for the service to operate.

Docker

Docker is a dick.

Copy compose.override.yml.example to compose.override.yml and edit the values accordingly.

Then, it should be as easy as a sudo docker compose up -d.

Running with a plain docker run is not supported, as it requires the --network=host flag.

License

This project is licensed under the Affero General Public License. (3.0 or later)