forked from sismics/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (30 loc) · 978 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (30 loc) · 978 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
version: '3'
services:
teedy-server:
image: ghcr.io/fmaass/teedy-docs:latest
restart: unless-stopped
ports:
- 8080:8080
environment:
DOCS_BASE_URL: "https://docs.example.com"
DOCS_ADMIN_EMAIL_INIT: "admin@example.com"
# Default password is "admin". Override with a bcrypt hash for production.
# Generate one with: htpasswd -bnBC 5 "" 'yourpassword' | cut -d: -f2
# Escape $ as $$ in compose files.
#DOCS_ADMIN_PASSWORD_INIT: "$$2a$$05$$PcMNUbJvsk7QHFSfEIDaIOjk1VI9/E7IPjTKx.jkjPxkx2EOKSoPS"
DATABASE_URL: "jdbc:postgresql://teedy-db:5432/teedy"
DATABASE_USER: "teedy"
DATABASE_PASSWORD: "teedy"
volumes:
- ./docs/data:/data
depends_on:
- teedy-db
teedy-db:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_DB: "teedy"
POSTGRES_USER: "teedy"
POSTGRES_PASSWORD: "teedy"
volumes:
- ./docs/db:/var/lib/postgresql/data