- HTML 53.2%
- Python 35.2%
- Dockerfile 8.3%
- Shell 3.3%
| app | ||
| .env.example | ||
| .gitignore | ||
| compose.dev.yaml | ||
| compose.traefik.yaml | ||
| compose.yaml | ||
| Dockerfile | ||
| FLASK_SECRET_KEY.example | ||
| README.md | ||
| requirements.txt | ||
Launch
Launches docker containers.
WARNING
To show running docker containers, this program needs access to the Docker daemon.
/!\ /!\ /!\ /!\ /!\ /!\
Writing to the Docker deamon enables to define and run arbritrary containers,
which effectively is the same as having root on the host.
Even read only would be
not secure!
/!\ /!\ /!\ /!\ /!\ /!\
Usage
Environment variabels
Some aspects are dynamically.
For this to work, create this files by copying from .example files and adapt accordingly:
.env
Dynamiccompose.yamlwhile creating the compose project.
Start services
Services must be predefined in the allow list (currently hard coded). TODO: move allow list to file.
Stop services
(ToDo)
Deploy
Deploy on local machine with Docker
Docker can mount the socket that gives access to the Docker daemon from the host to a container.
One way way to do this is prepared in the docker compose.yaml.
docker compose up --build
Deploy behind a reverse proxy
Combine compose.yaml with compose.traefik.yaml.
The domain/subdomain is defined in the Host rule.
docker compose -f compose.yaml -f compose.traefik.yaml up --build
Develop
Combine compose.yaml with compose.dev.yaml that uses additional settings for development
like hot reloading or other debug features.
docker compose -f compose.yaml -f compose.dev.yaml up --watch