chore: publish 2.1.0+2.2.0-beta release
This commit is contained in:
parent
c9b04db7a0
commit
8b66b80332
17
README.md
17
README.md
@ -196,3 +196,20 @@ services:
|
|||||||
As in the above example, you can reference Docker Secrets, e.g. for looking up database passwords, by reading the files in `/run/secrets` directly.
|
As in the above example, you can reference Docker Secrets, e.g. for looking up database passwords, by reading the files in `/run/secrets` directly.
|
||||||
|
|
||||||
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
|
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||||
|
|
||||||
|
## Backupbot Development
|
||||||
|
|
||||||
|
1. Copy modified backupbot.py into the container:
|
||||||
|
|
||||||
|
```
|
||||||
|
cp backupbot.py /tmp/backupbot.py; git stash; abra app cp <backupbot_name> /tmp/backupbot.py app:/usr/bin/backupbot.py; git checkout main; git stash pop
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Testing stuff with the python interpreter inside the container:
|
||||||
|
|
||||||
|
```
|
||||||
|
abra app run <backupbot_name> app bash
|
||||||
|
cd /usr/bin/
|
||||||
|
python
|
||||||
|
from backupbot import *
|
||||||
|
```
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: git.coopcloud.tech/coop-cloud/backup-bot-two:2.1.1-beta
|
image: git.coopcloud.tech/coop-cloud/backup-bot-two:2.2.0-beta
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
- "/var/lib/docker/volumes/:/var/lib/docker/volumes/"
|
- "/var/lib/docker/volumes/:/var/lib/docker/volumes/"
|
||||||
@ -16,7 +16,7 @@ services:
|
|||||||
- restic_password
|
- restic_password
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
- coop-cloud.${STACK_NAME}.version=2.0.1+2.1.1-beta
|
- coop-cloud.${STACK_NAME}.version=2.1.0+2.2.0-beta
|
||||||
- coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-300}
|
- coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-300}
|
||||||
- coop-cloud.backupbot.enabled=true
|
- coop-cloud.backupbot.enabled=true
|
||||||
#entrypoint: ['tail', '-f','/dev/null']
|
#entrypoint: ['tail', '-f','/dev/null']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user