2023-08-09 00:12:27 +00:00
|
|
|
# docker-status
|
|
|
|
A simple status page for my Docker containers.
|
2023-08-08 23:56:22 +00:00
|
|
|
|
2023-08-09 10:02:01 +00:00
|
|
|
## Config
|
|
|
|
First of all, copy `config.json.example` into `config.json` and fill it out accordingly.
|
2023-08-08 23:56:22 +00:00
|
|
|
|
2023-08-09 00:12:27 +00:00
|
|
|
### Docker
|
2023-08-09 10:02:01 +00:00
|
|
|
Just use `docker-compose up --build --detach`.
|
|
|
|
|
|
|
|
### Poetry (debug)
|
|
|
|
1. Install dependencies: `poetry install`;
|
|
|
|
2. Start the server: `poetry run flask --app docker_status run --port 1111 --debug`.
|
|
|
|
|
|
|
|
### Poetry (production)
|
|
|
|
1. Install dependencies: `poetry install --with prod`;
|
|
|
|
2. Start the server: `poetry run python docker_status`.
|