Wolfgang Huß 11aabf0b16 Change maintenance svg
- Add 'Readme.md' for maintenance mode.
- Refine other Readme's.
2021-01-07 15:35:52 +01:00

46 lines
1.2 KiB
Markdown

# Maintenance Mode
The maintenance mode shows a translatable page that tells the user that we are right back, because we are working on the server.
## Running The Maintenance Page Or Service
At the moment the maintenance mode can only be locally tested with Docker-Compose.
{% tabs %}
{% tab title="Locally Without Docker" %}
{% hint style="info" %}
TODO: Implement a locally running maintenance mode! Without Docker …
{% endhint %}
The command …
```bash
# running the maintenance mode in webapp/ folder
$ yarn generate:maintenance
```
… is unfortunatelly **not(!)** working at the moment.
This is because the code is rewritten to be easy usable for Docker-Compose. Therefore we lost this possibility.
{% endtab %}
{% tab title="Locally With Docker" %}
To get the maintenance mode running use the command:
```bash
# start Docker in the main folder
$ docker-compose up
````
And the maintenance mode page or service will be started as well in an own container.
In the browser you can reach it under `http://localhost:3503/`.
{% endtab %}
{% tab title="On The Server" %}
How to bring a Kubernetes server into maintenance mode is discriped [here](../../deployment/ocelot-social/maintenance/README.md).
{% endtab %}
{% endtabs %}