Revert the upload option

This commit is contained in:
sn0w 2018-04-09 01:01:43 +02:00
parent 210c7608be
commit 08925394f0
2 changed files with 4 additions and 8 deletions

View File

@ -49,9 +49,5 @@ PLEROMA_MEDIA_PROXY_URL=
# DB
PLEROMA_DB_POOL_SIZE=
# Where to store uploaded content
# (This path is relative to your $DOCKER_DATADIR)
PLEROMA_UPLOADS_PATH=
# Whether to enable the chat feature or not
PLEROMA_CHAT_ENABLED=

View File

@ -36,6 +36,8 @@ services:
links:
- db
environment:
env_fb(`mix_env', `prod')
env_fb(`postgres_ip', `db')
env(`postgres_db')
env(`postgres_user')
@ -53,13 +55,11 @@ services:
env(`pleroma_media_proxy_redirect_on_failure')
env(`pleroma_media_proxy_url')
env(`pleroma_db_pool_size')
env(`pleroma_uploads_path')
env_fb(`pleroma_uploads_path', `/uploads')
env(`pleroma_chat_enabled')
env_fb(`mix_env', `prod')
volumes:
- ./custom.d:/custom.d
- env_inline(`docker_datadir')/uploads:env_inline(`pleroma_uploads_path')
- env_inline(`docker_datadir')/uploads:env_inline_fb(`pleroma_uploads_path', `/uploads')
labels:
traefik.enable: "true"
traefik.fe.port: "4000"