Skip to content

Commit

Permalink
Merge pull request #60 from Sebastix/fix/docker-volume-paths
Browse files Browse the repository at this point in the history
fix http: panic serving <local_ip_here>: open public/index.html with docker compose
  • Loading branch information
barrydeen authored Sep 21, 2024
2 parents 809d87e + a5bbfe6 commit 5ca37ff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docker-compose.arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions docker-compose.tor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 5ca37ff

Please sign in to comment.