Use static web server
This commit is contained in:
parent
34838586c0
commit
c1d77f8f5b
@ -22,8 +22,8 @@ X_FORWARDED_PROTO_HEADER_SET=True
|
|||||||
# links for some images *might* break (specially in the mobile app). Also note that
|
# links for some images *might* break (specially in the mobile app). Also note that
|
||||||
# the API response is cached and contains the host, if you change this setting, just run
|
# the API response is cached and contains the host, if you change this setting, just run
|
||||||
# docker compose exec web python3 manage.py warmup-exercise-api-cache --force
|
# docker compose exec web python3 manage.py warmup-exercise-api-cache --force
|
||||||
MEDIA_URL=https://wger.shoebottom.ca/media/
|
MEDIA_URL=https://static:80/media/
|
||||||
STATIC_URL=https://wger.shoebottom.ca/static/
|
STATIC_URL=https://static:80/static/
|
||||||
|
|
||||||
#
|
#
|
||||||
# These settings usually don't need changing
|
# These settings usually don't need changing
|
||||||
|
@ -32,8 +32,6 @@ services:
|
|||||||
static:
|
static:
|
||||||
image: joseluisq/static-web-server:latest
|
image: joseluisq/static-web-server:latest
|
||||||
container_name: wger_static
|
container_name: wger_static
|
||||||
ports:
|
|
||||||
- 9003:80
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- SERVER_ROOT=/var/public
|
- SERVER_ROOT=/var/public
|
||||||
|
Loading…
Reference in New Issue
Block a user