37 lines
738 B
YAML
37 lines
738 B
YAML
services:
|
|
nginx:
|
|
container_name: pageswiki-proxy
|
|
image: nginx:1.27-alpine
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080:80"
|
|
volumes:
|
|
- ./deploy/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
depends_on:
|
|
- app
|
|
|
|
app:
|
|
container_name: pageswiki
|
|
build: .
|
|
volumes:
|
|
- ./data:/data
|
|
environment:
|
|
PAGESWIKI_DATA_DIR: /data
|
|
KROKI_URL: http://kroki:8000
|
|
restart: unless-stopped
|
|
kroki:
|
|
image: yuzutech/kroki
|
|
environment:
|
|
KROKI_MERMAID_HOST: kroki-mermaid
|
|
KROKI_MERMAID_PORT: 8002
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- kroki-mermaid
|
|
|
|
|
|
kroki-mermaid:
|
|
image: yuzutech/kroki-mermaid
|
|
restart: unless-stopped
|
|
expose:
|
|
- "8002"
|