Merge branch 'develop' into 'master'

Add filebrowser

See merge request sahkoinsinoorikilta/vtmk/web2.0-backend!11
This commit is contained in:
Aarni Halinen
2019-12-17 17:24:04 +00:00
+12 -1
View File
@@ -1,5 +1,16 @@
version: '3.4'
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:
image: postgres:12
deploy:
@@ -32,7 +43,7 @@ services:
- 8000:8000
volumes:
- type: bind
source: /home/sik/production/media
source: /home/sik/production/files/django_media
target: /app/media
environment:
- SECRET_KEY_FILE=/run/secrets/DJANGO_SECRET_KEY