changes
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
This commit is contained in:
parent
ec0ef5923e
commit
c26e8968ef
@ -6,7 +6,7 @@ actions:
|
|||||||
- "@daily"
|
- "@daily"
|
||||||
- title: deploy all containers
|
- title: deploy all containers
|
||||||
shell: |
|
shell: |
|
||||||
cd /home/geezo/docker_containers
|
cd /docker_containers
|
||||||
while IFS= read -r dir; do
|
while IFS= read -r dir; do
|
||||||
if [ -f "${dir}/docker-compose.yml" ] || [ -f "${dir}/docker-compose.yaml" ]; then
|
if [ -f "${dir}/docker-compose.yml" ] || [ -f "${dir}/docker-compose.yaml" ]; then
|
||||||
echo "Processing directory: ${dir}"
|
echo "Processing directory: ${dir}"
|
||||||
|
|||||||
@ -6,6 +6,7 @@ services:
|
|||||||
- ./:/config # replace host path or volume as needed
|
- ./:/config # replace host path or volume as needed
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /home/geezo/docker_containers/autorestic:/autorestic
|
- /home/geezo/docker_containers/autorestic:/autorestic
|
||||||
|
- /home/geezo/docker_containers:/docker_containers
|
||||||
ports:
|
ports:
|
||||||
- "1004:1337"
|
- "1004:1337"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user