-version: '3.1'
services:
php-fpm:
container_name: fluidbook-toolbox
# 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:
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: ""
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