Skip to content

Commit

Permalink
add outline
Browse files Browse the repository at this point in the history
  • Loading branch information
aydenjahola committed Jun 8, 2024
1 parent d71f3f0 commit 23c2320
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions docker-compose/outline/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
version: "3.2"
services:

outline:
image: docker.getoutline.com/outlinewiki/outline:latest
container_name: outline
env_file: ./docker.env
volumes:
- ~/homelab-data/outline/storage-data:/var/lib/outline/data
depends_on:
- postgres
- redis
labels:
- "traefik.enable=true"
- "traefik.http.routers.outline.rule=Host(`outline.aydenjahola.com`)"
- "traefik.http.routers.outline.entrypoints=https"
- "traefik.http.services.outline.loadbalancer.server.port=3000"
networks:
- internal
- proxy


redis:
image: redis
container_name: outline-redis
env_file: ./docker.env
ports:
- "6379:6379"
volumes:
- ./redis.conf:/redis.conf
command: ["redis-server", "/redis.conf"]
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 30s
retries: 3
networks:
- internal

postgres:
image: postgres
container_name: outline-db
env_file: ./docker.env
ports:
- "5432:5432"
volumes:
- ~/homelab-data/outline/database-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-d", "outline", "-U", "user"]
interval: 30s
timeout: 20s
retries: 3
environment:
POSTGRES_USER: ${PG_USER}
POSTGRES_PASSWORD: ${PG_PASS}
POSTGRES_DB: ${PG_DB}
networks:
- internal

volumes:
https-portal-data:
storage-data:
database-data:

networks:
proxy:
external: true
internal:
external: false

0 comments on commit 23c2320

Please sign in to comment.