Added Outline
This commit is contained in:
parent
0aed159923
commit
f4b90f12e2
|
@ -0,0 +1,10 @@
|
||||||
|
SERVER_IP=10.0.0.31
|
||||||
|
POSTGRES_USER='user'
|
||||||
|
POSTGRES_PASSWORD='pass'
|
||||||
|
POSTGRES_DB='outline'
|
||||||
|
SECRET_KEY=d1155bc02c5bfd6b2a4c3313113b0b5f0360366aa3b68c56c5299bc4da4efdf8
|
||||||
|
UTILS_SECRET=14 fec600b3d8b3524421785aef5711805a0a93d21f9ca7f251de88b675862eb
|
||||||
|
URL=https://outline.giovanesaggio.com
|
||||||
|
PORT=3000
|
||||||
|
SLACK_CLIENT_ID=6694269761893.6697082902291
|
||||||
|
SLACK_CLIENT_SECRET=b234dd4387d1edc38b43b06737e95203
|
|
@ -0,0 +1,59 @@
|
||||||
|
version: "3.2"
|
||||||
|
services:
|
||||||
|
outline:
|
||||||
|
image: docker.getoutline.com/outlinewiki/outline:latest
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
volumes:
|
||||||
|
- ./storage-data:/var/lib/outline/data
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
- redis
|
||||||
|
environment:
|
||||||
|
PGSSLMODE: disable
|
||||||
|
SECRET_KEY: ${SECRET_KEY}
|
||||||
|
UTILS_SECRET: ${UTILS_SECRET}
|
||||||
|
DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${SERVER_IP}:5432/${POSTGRES_DB}
|
||||||
|
REDIS_URL: redis://${SERVER_IP}:6379
|
||||||
|
URL: ${URL}
|
||||||
|
PORT: ${PORT}
|
||||||
|
FILE_STORAGE: local
|
||||||
|
FILE_STORAGE_LOCAL_ROOT_DIR: /var/lib/outline/data
|
||||||
|
FILE_STORAGE_UPLOAD_MAX_SIZE: 26214400
|
||||||
|
SLACK_CLIENT_ID: ${SLACK_CLIENT_ID}
|
||||||
|
SLACK_CLIENT_SECRET: ${SLACK_CLIENT_SECRET}
|
||||||
|
restart: unless-stopped
|
||||||
|
redis:
|
||||||
|
image: redis
|
||||||
|
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
|
||||||
|
restart: unless-stopped
|
||||||
|
postgres:
|
||||||
|
image: postgres
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
||||||
|
volumes:
|
||||||
|
- ./database-data:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
- CMD
|
||||||
|
- pg_isready
|
||||||
|
interval: 30s
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: ${POSTGRES_USER}
|
||||||
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
|
POSTGRES_DB: ${POSTGRES_DB}
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue