🌛 First commit
This commit is contained in:
31
stacks/outline/docker-compose.yml
Normal file
31
stacks/outline/docker-compose.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
Reference in New Issue
Block a user