32 lines
842 B
YAML
32 lines
842 B
YAML
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"
|
|
ports:
|
|
- 3000:3000
|
|
env_file:
|
|
- stack.env
|
|
depends_on:
|
|
- outline-redis
|
|
- outline-postgres
|
|
|
|
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:
|
|
image: postgres:15
|
|
container_name: outline-postgres
|
|
restart: unless-stopped
|
|
env_file:
|
|
- stack.env
|
|
volumes:
|
|
- /mnt/user/appdata/outline/postgres-data:/var/lib/postgresql/data
|