fix ports
This commit is contained in:
@@ -4,10 +4,11 @@ services:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "$PORT:$PORT"
|
||||
- "${PORT:-8080}:${PORT:-8080}"
|
||||
depends_on:
|
||||
- mailpit
|
||||
environment:
|
||||
PORT: "${PORT:-8080}"
|
||||
CAIRNQUIRE_DATABASE_PATH: "/workspace/data/db.sqlite"
|
||||
CAIRNQUIRE_CONTENT_SOURCE_DIR: "/workspace/content"
|
||||
CAIRNQUIRE_CONTENT_STORE_DIR: "/workspace/data/files"
|
||||
@@ -20,7 +21,7 @@ services:
|
||||
- cairnquire_data:/workspace/data
|
||||
- ./content:/workspace/content
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "--fail", "http://127.0.0.1:${PORT}/healthz"]
|
||||
test: ["CMD", "curl", "--fail", "http://127.0.0.1:${PORT:-8080}/healthz"]
|
||||
interval: 10s
|
||||
timeout: 3s
|
||||
retries: 5
|
||||
|
||||
Reference in New Issue
Block a user