Vervis/prepare-state.sh
Pere Lev d35b26c1c2
Docker: Config volume & State preparation when using docker-compose
NOTE: The docker setup is still WIP, production deployment is
discouraged until you see the container image uploaded to the project's Package
Registry on Codeberg
2024-10-20 00:27:31 +03:00

5 lines
133 B
Bash

#!/bin/sh
mkdir state state/repos state/deliveries
ssh-keygen -t rsa -m PEM -N '' -f state/ssh-host-key
sudo chown -R 991:991 state