epub-press
epub-press copied to clipboard
Add a troubleshooting file
Current Behavior
There's some issues that may arise during setup that are separate from EpubPress.
Examples:
- Some versions of
docker-compose
not understandingversion: 3
. -
docker-compose
needing to be run withsudo
in linux. - The chrome extension failing because of a misconfigured url.
Expected Behavior
There should exist some form of TROUBLESHOOTING.md
to document the fixes to these issues.
Note for troubleshooting file
docker-compose up may return error: Creating network "epub-press_default" with the default driver ERROR: could not find an available, non-overlapping IPv4 address pool among the defaults to assign to the network
solution:
diff --git a/docker-compose.yaml b/docker-compose.yaml
index ffe87a4..9639fc3 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -10,6 +10,7 @@ services:
- DB_HOST=postgres
- DB_USERNAME=postgres
- DB_PASSWORD=password
+ network_mode: "bridge"
postgres:
image: library/postgres
ports:
@@ -18,4 +19,5 @@ services:
- POSTGRES_DB=epubpress_development
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
-
\ No newline at end of file
+ network_mode: "bridge"