-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.sqlite.yml
More file actions
32 lines (31 loc) · 923 Bytes
/
Copy pathcompose.sqlite.yml
File metadata and controls
32 lines (31 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
app:
build:
context: .
args:
# Stamps the sidebar footer with the deployed commit. Set BUILD_HASH in
# the build environment (e.g. `BUILD_HASH=$(git rev-parse HEAD) docker
# compose build`); unset falls back to "Dev" in the UI.
BUILD_HASH: ${BUILD_HASH:-}
environment:
DATABASE_URL: sqlite+aiosqlite:////data/halite.db
COOKIE_SECRET: ${COOKIE_SECRET:?Run scripts/gen-bootstrap-secret.sh and set COOKIE_SECRET}
COOKIE_SECURE: ${COOKIE_SECURE:-false}
HALITE_STATIC_DIR: /app/frontend/dist
volumes:
- halite-sqlite:/data
ports:
- "8080:8080"
healthcheck:
test:
[
"CMD",
"python",
"-c",
"import urllib.request; urllib.request.urlopen('http://localhost:8080/healthz')",
]
interval: 10s
timeout: 3s
retries: 6
volumes:
halite-sqlite: