updated bind mount directory of api and adin in docker compose

pull/103/head
13621160019@163.com 2021-12-25 22:43:26 +08:00
parent 1c8daa74e8
commit 9dfe7365c8
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,9 @@ services:
command: gunicorn app:api -b 0.0.0.0:8000 --timeout 600 --workers=4
volumes:
- type: bind
# Linux Host
# source: /upload
# Windows Host
source: c:\upload
target: /var/www/html/admin/upload
restart: always
@ -38,6 +41,9 @@ services:
test: [ "CMD","nginx","-t" ]
volumes:
- type: bind
# Linux Host
# source: /upload
# Windows Host
source: c:\upload
target: /var/www/html/admin/upload
restart: always