Compare commits

..

No commits in common. "a0babb5226c84ad6076624e69c84fa694c3f2051" and "68aff49459f76c3d56c29b35281933124911058e" have entirely different histories.

3 changed files with 9 additions and 3 deletions

View File

@ -11,8 +11,7 @@ on:
- main - main
env: env:
# DEPLOY: ${{ github.ref == 'refs/heads/main' && ((startsWith(github.event.head_commit.message, '[deploy-all]') && 'all') || ('some')) || 'none' }} DEPLOY: ${{ github.ref == 'refs/heads/main' && ((startsWith(github.event.head_commit.message, '[deploy-all]') && 'all') || ('some')) || 'none' }}
DEPLOY: all
jobs: jobs:
ansible-playbooks: ansible-playbooks:

View File

@ -35,8 +35,14 @@
- name: Mount data partition - name: Mount data partition
ansible.posix.mount: ansible.posix.mount:
src: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:1-part1 src: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:1-part1
path: /var/lib/docker path: /mnt/data
fstype: ext4 fstype: ext4
opts: rw,errors=remount-ro,x-systemd.growfs opts: rw,errors=remount-ro,x-systemd.growfs
state: mounted state: mounted
become: true become: true
- name: Set data partition permissions
ansible.builtin.file:
path: /mnt/data
owner: debian
group: debian
become: true

View File

@ -9,6 +9,7 @@ docker run \
--name nextcloud-aio-mastercontainer \ --name nextcloud-aio-mastercontainer \
--restart unless-stopped \ --restart unless-stopped \
--publish 8080:8080 \ --publish 8080:8080 \
--env NEXTCLOUD_DATADIR=/mnt/data/nextcloud \
--env NEXTCLOUD_UPLOAD_LIMIT=16G \ --env NEXTCLOUD_UPLOAD_LIMIT=16G \
--env NEXTCLOUD_MAX_TIME=7200 \ --env NEXTCLOUD_MAX_TIME=7200 \
--env APACHE_PORT=11000 \ --env APACHE_PORT=11000 \