1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2025-09-26 17:38:20 +10:00
parent af306b8e1f
commit e5900d1f01
3 changed files with 6 additions and 12 deletions

View File

@ -1,5 +1,5 @@
version: '3'
version: '3.4'
services:
@ -16,6 +16,7 @@ services:
- "${NGINX_HTTPS_PORT:-443}:443"
volumes:
- medicine-public-data:/app/public
- medicine-files:/app/public/media/files
networks:
- medicine-network
extra_hosts:
@ -56,6 +57,8 @@ services:
volumes:
medicine-public-data:
medicine-files:
name: medicine-files
networks:
medicine-network:

View File

@ -32,12 +32,7 @@ services:
volumes:
- filebrowser-data:/etc
- ../volumes/files:/srv/volumes
- type: volume
source: medicine_medicine-public-data
target: /srv/medicine-files
volume:
nocopy: true
subpath: media/files
- medicine-files:/srv/medicine-files
networks:
- medicine-network
logging:
@ -75,7 +70,7 @@ services:
volumes:
pgadmin-data:
filebrowser-data:
medicine_medicine-public-data:
medicine-files:
external: true
networks:

View File

@ -2,7 +2,3 @@
SCRIPT_PATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
(cd $SCRIPT_PATH && git pull)
docker pull docker.med-logic.ru/busybox:latest
docker tag docker.med-logic.ru/busybox:latest busybox-local:latest
docker run --rm -v medicine_medicine-public-data:/app busybox-local sh -c "mkdir -p /app/media/files"