From b67aacde19962be6de6e4add906a69ef26d5c9ac Mon Sep 17 00:00:00 2001 From: rudolf Date: Thu, 19 Aug 2021 00:16:56 +0300 Subject: [PATCH] SoftReset --- all.yaml | 6 +++--- docker-compose-gogs.yaml | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 docker-compose-gogs.yaml diff --git a/all.yaml b/all.yaml index da9f53c..0345f18 100644 --- a/all.yaml +++ b/all.yaml @@ -47,10 +47,10 @@ - name: mnt-DATA type: mount Unit: - Description: Mount DATA fs + Description: Mount DATA fs Mount: - What: /dev/disk/by-uuid/2DC48EE00DE0CBC9 - Where: /mnt/DATA + What: /dev/disk/by-uuid/2DC48EE00DE0CBC9 + Where: /mnt/DATA Type: ntfs-3g Options: rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 Install: diff --git a/docker-compose-gogs.yaml b/docker-compose-gogs.yaml new file mode 100644 index 0000000..362d7d8 --- /dev/null +++ b/docker-compose-gogs.yaml @@ -0,0 +1,17 @@ +version: "3.8" +services: + gogs: + image: gogs/gogs-rpi + ports: + - "23:22" + - "3000:3000" + volumes: + - "gogs_data:/data" + - "/srv/dev-disk-by-uuid-2DC48EE00DE0CBC9/backups/gogs_backups:/backup" + environment: + BACKUP_INTERVAL: "1h" + +volumes: + gogs_data: { + + } \ No newline at end of file