From 49d5e7f3e3677195e9b285350c3b48def2f237a0 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 4 Apr 2025 18:23:06 +0200 Subject: [PATCH] wait #7450 @6 --- .docker/docker-compose.yml | 22 +++++++++++----------- .docker/update.sh | 6 ++++++ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.docker/docker-compose.yml b/.docker/docker-compose.yml index 893cb6821..4336637ab 100644 --- a/.docker/docker-compose.yml +++ b/.docker/docker-compose.yml @@ -1,4 +1,3 @@ -version: '3.1' services: php-fpm: container_name: fluidbook-toolbox @@ -110,7 +109,7 @@ services: # Config - '/home/toolbox/www/.docker/config/httpd/httpd.conf:/usr/local/apache2/conf/httpd.conf' # External volume - - 'usstorage:/application/usstorage:ro' + - 'usstorage1:/application/usstorage:ro' ports: - '37126:80' environment: @@ -182,22 +181,23 @@ services: networks: fluidbook-toolbox: - external: - name: fluidbook-toolbox + name: fluidbook-toolbox + external: true fluidbook-processfarm: - external: - name: fluidbook-processfarm + name: fluidbook-processfarm + external: true nginxproxy: - external: - name: nginxproxy + name: nginxproxy + external: true extranet: - external: - name: extranet + name: extranet + external: true volumes: - usstorage: + usstorage1: driver: ucphhpc/sshfs:latest driver_opts: sshcmd: "fluidbook@kingkong.cubedesigners.com:/home/fluidbook/data" allow_other: "" password: "Qu2E9uq48bBzsqGiZA" + reconnect: "" diff --git a/.docker/update.sh b/.docker/update.sh index bf9f32b7a..ca5bd34f9 100644 --- a/.docker/update.sh +++ b/.docker/update.sh @@ -8,7 +8,13 @@ docker plugin install ucphhpc/sshfs --grant-all-permissions chown root:root /home/toolbox/www/.docker/config/cron/host;ln -sf /home/toolbox/www/.docker/config/cron/host /etc/cron.d/toolbox chown root:root /home/toolbox/www/.docker/config/sudoers docker network create fluidbook-toolbox +docker network create extranet +docker network create nginxproxy +docker network create fluidbook-processfarm docker compose down -v +docker container prune -f +docker volume prune -f +docker volume rm fluidbook-toolbox_usstorage1 -f docker compose up -d ufw-docker allow fluidbook-toolbox docker exec -it fluidbook-toolbox /application/scripts/update.sh -- 2.39.5