container/README.md

26 lines
518 B
Markdown

# Container
This project contains my personal docker compose configurations.
To use this configuartions the .env files have to be decrypted with
the key@dmeiburg.de key
```sh
$ gpg -d .env.gpg > .env
```
To encrypt an .env file the following command is used:
```sh
$ gpg -er key@dmeiburg.de -r server@dmeiburg.de .env
```
#### Deployment
```bash
git remote add dmeiburg ssh://root@dmeiburg.de:/root/git/container.git
git push dmeiburg
```
Make sure `post-receive` hook is installed in the bare repository.