mirror of
https://github.com/bitvora/wot-relay.git
synced 2025-07-22 21:25:31 +00:00
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:
commit
5ca37ff165
@ -7,8 +7,8 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- "./db:/app/db" # only change the left side before the colon
|
- "./db:/app/db"
|
||||||
- "./templates/index.html:/app/templates/index.html" # only change the left side before the colon
|
- "./templates/index.html:${INDEX_PATH}"
|
||||||
- "./templates/static:/app/templates/static" # only change the left side before the colon
|
- "./templates/static:${STATIC_PATH}"
|
||||||
ports:
|
ports:
|
||||||
- "3334:3334"
|
- "3334:3334"
|
||||||
|
@ -8,8 +8,8 @@ services:
|
|||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- "./db:/app/db"
|
- "./db:/app/db"
|
||||||
- "./templates/index.html:/app/templates/index.html"
|
- "./templates/index.html:${INDEX_PATH}"
|
||||||
- "./templates/static:/app/templates/static"
|
- "./templates/static:${STATIC_PATH}"
|
||||||
ports:
|
ports:
|
||||||
- "3334"
|
- "3334"
|
||||||
|
|
||||||
|
@ -7,8 +7,8 @@ services:
|
|||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- "./db:/app/db" # only change the left side before the colon
|
- "./db:/app/db"
|
||||||
- "./templates/index.html:/app/templates/index.html" # only change the left side before the colon
|
- "./templates/index.html:${INDEX_PATH}"
|
||||||
- "./templates/static:/app/templates/static" # only change the left side before the colon
|
- "./templates/static:${STATIC_PATH}"
|
||||||
ports:
|
ports:
|
||||||
- "3334:3334"
|
- "3334:3334"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user