Merge branch 'develop' into 'master'
Add filebrowser See merge request sahkoinsinoorikilta/vtmk/web2.0-backend!11
This commit is contained in:
+12
-1
@@ -1,5 +1,16 @@
|
|||||||
version: '3.4'
|
version: '3.4'
|
||||||
services:
|
services:
|
||||||
|
filebrowser:
|
||||||
|
image: registry.gitlab.com/sahkoinsinoorikilta/vtmk/filebrowser
|
||||||
|
ports:
|
||||||
|
- 5000:80
|
||||||
|
environment:
|
||||||
|
- AUTH_BACKEND_URL=https://sika.sik.party/jwt_nginx
|
||||||
|
- AUTH_LOGIN_URL=http://web.sik.party:3000/admin/login
|
||||||
|
volumes:
|
||||||
|
- /home/sik/production/files/static:/srv
|
||||||
|
- /home/sik/production/filebrowser.db:/filebrowser.db
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:12
|
image: postgres:12
|
||||||
deploy:
|
deploy:
|
||||||
@@ -32,7 +43,7 @@ services:
|
|||||||
- 8000:8000
|
- 8000:8000
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /home/sik/production/media
|
source: /home/sik/production/files/django_media
|
||||||
target: /app/media
|
target: /app/media
|
||||||
environment:
|
environment:
|
||||||
- SECRET_KEY_FILE=/run/secrets/DJANGO_SECRET_KEY
|
- SECRET_KEY_FILE=/run/secrets/DJANGO_SECRET_KEY
|
||||||
|
|||||||
Reference in New Issue
Block a user