fix http: panic serving 100.114.176.46:58517: open public/index.html: no such file or directory

This commit is contained in:
Sebastix 2024-09-21 13:59:53 +02:00
parent 809d87e283
commit a5bbfe6165
3 changed files with 8 additions and 8 deletions

View File

@ -7,8 +7,8 @@ services:
env_file:
- .env
volumes:
- "./db:/app/db" # only change the left side before the colon
- "./templates/index.html:/app/templates/index.html" # only change the left side before the colon
- "./templates/static:/app/templates/static" # only change the left side before the colon
- "./db:/app/db"
- "./templates/index.html:${INDEX_PATH}"
- "./templates/static:${STATIC_PATH}"
ports:
- "3334:3334"

View File

@ -8,8 +8,8 @@ services:
- .env
volumes:
- "./db:/app/db"
- "./templates/index.html:/app/templates/index.html"
- "./templates/static:/app/templates/static"
- "./templates/index.html:${INDEX_PATH}"
- "./templates/static:${STATIC_PATH}"
ports:
- "3334"

View File

@ -7,8 +7,8 @@ services:
env_file:
- .env
volumes:
- "./db:/app/db" # only change the left side before the colon
- "./templates/index.html:/app/templates/index.html" # only change the left side before the colon
- "./templates/static:/app/templates/static" # only change the left side before the colon
- "./db:/app/db"
- "./templates/index.html:${INDEX_PATH}"
- "./templates/static:${STATIC_PATH}"
ports:
- "3334:3334"