26 lines
497 B
Markdown
26 lines
497 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.asc > .env
|
|
```
|
|
|
|
To encrypt an .env file the following command is used:
|
|
|
|
```sh
|
|
$ gpg -ear key@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.
|