Skip to content
Snippets Groups Projects
Unverified Commit ebd31463 authored by Jan Christian Grünhage's avatar Jan Christian Grünhage
Browse files

add a few fixes

parent 88f265c8
Branches aio-docker
No related tags found
No related merge requests found
Pipeline #2249 failed with stages
in 27 seconds
data
......@@ -27,6 +27,7 @@ RUN apk add --no-cache \
py3-raven \
py3-magic \
py3-cryptography \
openldap-dev \
su-exec \
s6 \
&& cd /opt/funkwhale \
......
......@@ -9,7 +9,7 @@ services:
- postgres:postgres
- redis:redis
volumes:
- ./data:/opt/funkwhale/data
- ./data:/opt/funkwhale/data:z
redis:
image: redis
postgres:
......
:80 {
root /opt/funkwhale/front/dist
internal /_protected/media
rewrite /rest/(.*) /api/subsonic/rest/{1}
rewrite {
regexp .*
if {path} not_starts_with /rest
if {path} not_starts_with /api
if {path} not_starts_with /federation
if {path} not_starts_with /.well-known
to {path} {path}/ /index.html
}
proxy /api localhost:5000 {
transparent
......@@ -10,8 +21,10 @@
proxy /federation localhost:5000 {
transparent
}
proxy /.well-known localhost:5000 {
transparent
}
log stdout
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment