57 lines
1.4 KiB
Django/Jinja
57 lines
1.4 KiB
Django/Jinja
version: '3.8'
|
|
|
|
services:
|
|
wikijs:
|
|
image: ghcr.io/requarks/wiki:2
|
|
container_name: docs-wikijs-1
|
|
ports:
|
|
- "6875:3000"
|
|
environment:
|
|
- DB_TYPE=postgres
|
|
- DB_HOST=host.docker.internal
|
|
- DB_PORT=5432
|
|
- DB_NAME={{ core_db_credentials.wikijs_db_name }}
|
|
- DB_USER={{ core_db_credentials.wikijs_db_user }}
|
|
- DB_PASS={{ core_db_credentials.wikijs_db_pass }}
|
|
volumes:
|
|
- wikijs_data:/wiki/data
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
restart: unless-stopped
|
|
|
|
metabase:
|
|
image: metabase/metabase:latest
|
|
container_name: docs-metabase-1
|
|
ports:
|
|
- "3001:3000"
|
|
environment:
|
|
- MB_DB_TYPE=postgres
|
|
- MB_DB_DBNAME={{ core_db_credentials.metabase_db_name }}
|
|
- MB_DB_PORT=5432
|
|
- MB_DB_USER={{ core_db_credentials.metabase_db_user }}
|
|
- MB_DB_PASS={{ core_db_credentials.metabase_db_pass }}
|
|
- MB_DB_HOST=host.docker.internal
|
|
volumes:
|
|
- metabase_data:/metabase-data
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
restart: unless-stopped
|
|
|
|
gotenberg:
|
|
image: gotenberg/gotenberg:8
|
|
container_name: docs-gotenberg-1
|
|
ports:
|
|
- "3002:3000"
|
|
command:
|
|
- "gotenberg"
|
|
- "--api-timeout=30s"
|
|
volumes:
|
|
- gotenberg_fonts:/usr/share/fonts
|
|
- /opt/gotenberg-templates:/usr/share/gotenberg/templates:ro
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
wikijs_data:
|
|
metabase_data:
|
|
gotenberg_fonts:
|