36 lines
930 B
YAML
36 lines
930 B
YAML
services:
|
|
outline:
|
|
image: docker.getoutline.com/outlinewiki/outline:latest
|
|
env_file: ./outline.env
|
|
expose:
|
|
- "3000"
|
|
ports:
|
|
- "3000:3000"
|
|
volumes:
|
|
- ./docker-data/outline/outline-data:/var/lib/outline/data
|
|
depends_on:
|
|
- outline-redis
|
|
networks:
|
|
- omukk-network
|
|
environment:
|
|
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASS}@postgres:5432/outline
|
|
- SECRET_KEY=${OUTLINE_SECRET_KEY}
|
|
- UTILS_SECRET=${OUTLINE_UTILS_SECRET}
|
|
outline-redis:
|
|
image: docker.io/library/redis:alpine
|
|
command: --save 60 1 --loglevel warning
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
|
|
start_period: 20s
|
|
interval: 30s
|
|
retries: 5
|
|
timeout: 3s
|
|
volumes:
|
|
- ./docker-data/outline/redis:/data
|
|
networks:
|
|
- omukk-network
|
|
|
|
networks:
|
|
omukk-network:
|
|
external: true |