Add filebrowser and modify volume paths
This commit is contained in:
+12
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user