Compare commits

..

2 Commits

Author SHA1 Message Date
Gleb Koval a0babb5226
deploy all
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 6m41s Details
2023-09-27 00:10:46 +01:00
Gleb Koval a7e5065f71
just mount to docker 2023-09-27 00:10:42 +01:00
3 changed files with 3 additions and 9 deletions

View File

@ -11,7 +11,8 @@ on:
- main
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:
ansible-playbooks:

View File

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

View File

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