45 lines
963 B
YAML
45 lines
963 B
YAML
services:
|
|
outline:
|
|
image: docker.getoutline.com/outlinewiki/outline:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "6875:3000"
|
|
volumes:
|
|
- outline-storage:/var/lib/outline/data
|
|
env_file: ./outline.env
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
redis:
|
|
condition: service_healthy
|
|
dex:
|
|
condition: service_started
|
|
|
|
postgres:
|
|
image: postgres:16
|
|
restart: unless-stopped
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_USER: outline
|
|
POSTGRES_PASSWORD: outlinepass
|
|
POSTGRES_DB: outline
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready", "-U", "outline"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
redis:
|
|
image: redis:7
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
|
|
volumes:
|
|
outline-storage:
|
|
postgres-data: |