aboutsummaryrefslogtreecommitdiffstats
path: root/autoBackup
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-02-16 17:40:47 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2025-02-16 17:40:47 +0000
commit7af7b4e9f1b67cac1508fa508504505be33f0d88 (patch)
treeaf6127e0e5c6d791f32e1aa501f74572e0d8026b /autoBackup
parentf1ebe61647115a3cce8da64bfd2a3f6c360db5d1 (diff)
downloadBetterZFSReplication-7af7b4e9f1b67cac1508fa508504505be33f0d88.tar.gz
BetterZFSReplication-7af7b4e9f1b67cac1508fa508504505be33f0d88.zip
Updated README and fixed some bugs
Diffstat (limited to 'autoBackup')
-rw-r--r--autoBackup/autoBackup.py4
-rw-r--r--autoBackup/docker-compose.yml6
2 files changed, 5 insertions, 5 deletions
diff --git a/autoBackup/autoBackup.py b/autoBackup/autoBackup.py
index 9b5dee5..166ad5a 100644
--- a/autoBackup/autoBackup.py
+++ b/autoBackup/autoBackup.py
@@ -179,7 +179,7 @@ def main():
if was_already_on:
logging.info("The slave TrueNAS was turned on not by us, so stopping here")
else:
- logging.info("The slave TrueNAS was turned on my us, so starting the shutdown procedure")
+ logging.info("The slave TrueNAS was turned on by us, so starting the shutdown procedure")
logging.info(json.dumps(slave.shutdown(), indent = 4))
# wait until the slave TrueNAS is using 0w of power, which implies it has finished shutting down,
@@ -192,4 +192,4 @@ def main():
if __name__ == "__main__":
main()
- \ No newline at end of file
+
diff --git a/autoBackup/docker-compose.yml b/autoBackup/docker-compose.yml
index 2f43e77..f23ecb8 100644
--- a/autoBackup/docker-compose.yml
+++ b/autoBackup/docker-compose.yml
@@ -2,13 +2,13 @@ version: "3"
services:
autoReplicate:
- container_name: autoReplicate
+ container_name: auto_replicate
volumes:
- ./logs/:/app/logs
env_file:
- ./.env
restart: unless-stopped
- image: reg.reaweb.uk/autoBackup
+ image: reg.reaweb.uk/auto_replicate
build:
context: .
- dockerfile: Dockerfile \ No newline at end of file
+ dockerfile: Dockerfile