Merge pull request #60 from Sebastix/fix/docker-volume-paths

fix http: panic serving <local_ip_here>: open public/index.html with docker compose
This commit is contained in:
Barry Deen 2024-09-21 11:16:20 -04:00 committed by GitHub
commit 5ca37ff165
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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"