updated bind mount directory of api and adin in docker compose
parent
1c8daa74e8
commit
9dfe7365c8
|
@ -5,6 +5,9 @@ services:
|
||||||
command: gunicorn app:api -b 0.0.0.0:8000 --timeout 600 --workers=4
|
command: gunicorn app:api -b 0.0.0.0:8000 --timeout 600 --workers=4
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
|
# Linux Host
|
||||||
|
# source: /upload
|
||||||
|
# Windows Host
|
||||||
source: c:\upload
|
source: c:\upload
|
||||||
target: /var/www/html/admin/upload
|
target: /var/www/html/admin/upload
|
||||||
restart: always
|
restart: always
|
||||||
|
@ -38,6 +41,9 @@ services:
|
||||||
test: [ "CMD","nginx","-t" ]
|
test: [ "CMD","nginx","-t" ]
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
|
# Linux Host
|
||||||
|
# source: /upload
|
||||||
|
# Windows Host
|
||||||
source: c:\upload
|
source: c:\upload
|
||||||
target: /var/www/html/admin/upload
|
target: /var/www/html/admin/upload
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Loading…
Reference in New Issue