Added outline stack

This commit is contained in:
Rishi Ghan
2025-12-30 00:26:32 -05:00
parent aec2f32707
commit 0de12f8552
3 changed files with 50 additions and 81 deletions

View File

@@ -1,31 +1,43 @@
networks:
outline-net:
name: outline-net
driver: bridge
services:
outline:
image: outlinewiki/outline:latest
container_name: outline
restart: unless-stopped
command: sh -c "yarn db:migrate --env=production-ssl-disabled && yarn start --env=production-ssl-disabled"
env_file: ./stack.env
ports:
- 3000:3000
env_file:
- stack.env
- "3000:3000"
depends_on:
- outline-redis
- outline-postgres
- postgres
- redis
networks:
- outline-net
outline-redis:
image: redis:latest
container_name: outline-redis
restart: unless-stopped
volumes:
- /mnt/user/appdata/outline/redis.conf:/redis.conf
- /mnt/user/appdata/outline/redis:/data
command: ["redis-server", "/redis.conf"]
outline-postgres:
postgres:
image: postgres:15
container_name: outline-postgres
restart: unless-stopped
env_file:
- stack.env
environment:
- POSTGRES_USER=rishi
- POSTGRES_PASSWORD=dexter
- POSTGRES_DB=outline
volumes:
- /mnt/user/appdata/outline/postgres-data:/var/lib/postgresql/data
- /mnt/user/appdata/outline/db-data:/var/lib/postgresql/data
networks:
- outline-net
redis:
image: redis
container_name: outline-redis
restart: unless-stopped
volumes:
- /mnt/user/appdata/outline/redis-data:/data
- /mnt/user/appdata/outline/redis.conf:/redis.conf
command: ["redis-server", "/redis.conf"]
networks:
- outline-net