-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 1.25 KB
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (39 loc) · 1.25 KB
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
33
34
35
36
37
38
39
40
services:
rungu:
image: ghcr.io/codecoradev/rungu:latest
build: .
container_name: rungu
restart: unless-stopped
ports:
- "${RUNGU_PORT:-3000}:3000"
volumes:
- rungu-data:/data
environment:
RUST_LOG: ${RUST_LOG:-rungu=info}
APP_SECRET: ${APP_SECRET:?APP_SECRET is required}
APP_URL: ${APP_URL:-http://localhost:3000}
# Cookies are only marked Secure when the public URL is https —
# default APP_URL is http://localhost:3000, where Secure cookies
# are silently dropped by browsers.
RUNGU_SECURE_COOKIE: ${RUNGU_SECURE_COOKIE:-}
ADMIN_EMAILS: ${ADMIN_EMAILS:-}
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID:-}
GOOGLE_CLIENT_SECRET: ${GOOGLE_CLIENT_SECRET:-}
GITHUB_CLIENT_ID: ${GITHUB_CLIENT_ID:-}
GITHUB_CLIENT_SECRET: ${GITHUB_CLIENT_SECRET:-}
KEYCLOAK_URL: ${KEYCLOAK_URL:-}
KEYCLOAK_REALM: ${KEYCLOAK_REALM:-}
KEYCLOAK_CLIENT_ID: ${KEYCLOAK_CLIENT_ID:-}
KEYCLOAK_CLIENT_SECRET: ${KEYCLOAK_CLIENT_SECRET:-}
command: >
serve
--db /data/rungu.db
--listen 0.0.0.0:3000
healthcheck:
test: ["CMD", "/rungu", "healthcheck"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
volumes:
rungu-data: