Revert "attempt to fix FilterLists static file access"

This reverts commit b46f2e2ed8.
This commit is contained in:
Collin M. Barrett 2019-05-10 19:13:50 -05:00
parent 8c079012b5
commit 3c2e9a0bfa
3 changed files with 6 additions and 9 deletions

View file

@ -1,9 +1,9 @@
version: "3.7"
services:
# web:
# volumes:
# - web-static:/app/wwwroot
web:
volumes:
- web-static:/app/wwwroot
networks:
# https://github.com/collinbarrett/wp-host-on-containers/blob/master/docker-compose.nginx.yml
@ -11,6 +11,6 @@ networks:
external:
name: wp-host_reverse-proxy
#volumes:
# web-static:
volumes:
web-static:

View file

@ -10,9 +10,6 @@ services:
- reverse-proxy
volumes:
- ./ops/nginx/conf.d:/etc/nginx/conf.d:ro
depends_on:
- web
- api
web:
image: collinbarrett/filterlists.web:latest

View file

@ -28,4 +28,4 @@ RUN dotnet publish -c Release -o out --no-restore
# run
FROM runtime as final
COPY --from=build /app/src/FilterLists.Web/out ./
#VOLUME /app/wwwroot
VOLUME /app/wwwroot