feat: Add outline
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
SECRET_KEY={{ outline_secret_key }}
|
||||
UTILS_SECRET={{ outline_utils_secret }}
|
||||
DATABASE_URL=postgres://user:pass@outline-postgres:5432/outline
|
||||
DATABASE_URL_TEST=postgres://user:pass@outline-postgres:5432/outline-test
|
||||
REDIS_URL=redis://outline-redis:6379
|
||||
URL=https://outline.lino.cooking
|
||||
AWS_ACCESS_KEY_ID={{ outline_aws_access_key_id }}
|
||||
AWS_SECRET_ACCESS_KEY={{ outline_aws_secret_access_key }}
|
||||
AWS_S3_UPLOAD_BUCKET_URL=http://10.0.2.35
|
||||
AWS_S3_UPLOAD_BUCKET_NAME=outline
|
||||
AWS_S3_ACL=private
|
||||
FORCE_HTTPS=false
|
||||
ENABLE_UPDATES=true
|
||||
WEB_CONCURRENCY=2
|
||||
MAXIMUM_IMPORT_SIZE=5120000
|
||||
DEBUG=http
|
||||
DEFAULT_LANGUAGE=en_US
|
||||
OIDC_CLIENT_ID={{ outline_oidc_client_id }}
|
||||
OIDC_CLIENT_SECRET={{ outline_oidc_client_secret }}
|
||||
OIDC_AUTH_URI=https://authelia.lino.cooking/api/oidc/authorize
|
||||
OIDC_TOKEN_URI=https://authelia.lino.cooking/api/oidc/token
|
||||
OIDC_USERINFO_URI=https://authelia.lino.cooking/api/oidc/userinfo
|
||||
OIDC_DISPLAY_NAME=Authelia
|
||||
OIDC_SCOPES="openid profile email"
|
||||
|
||||
NODE_ENV=production
|
||||
PGSSLMODE=disable
|
||||
|
||||
# Configure lowest severity level for server logs. Should be one of
|
||||
# error, warn, info, http, verbose, debug and silly
|
||||
LOG_LEVEL=info
|
||||
@@ -0,0 +1,44 @@
|
||||
version: "3"
|
||||
services:
|
||||
|
||||
outline:
|
||||
image: outlinewiki/outline
|
||||
container_name: outline
|
||||
ports:
|
||||
- 3000:3000
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
container_name: outline-redis
|
||||
restart: always
|
||||
volumes:
|
||||
- /data/outline/redis.conf:/redis.conf
|
||||
command: ["redis-server", "/redis.conf"]
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
timeout: 30s
|
||||
retries: 3
|
||||
|
||||
postgres:
|
||||
image: postgres
|
||||
container_name: outline-postgres
|
||||
restart: always
|
||||
volumes:
|
||||
- /data/outline/db:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready"]
|
||||
interval: 30s
|
||||
timeout: 20s
|
||||
retries: 3
|
||||
environment:
|
||||
POSTGRES_USER: user
|
||||
POSTGRES_PASSWORD: pass
|
||||
POSTGRES_DB: outline
|
||||
PGSSLMODE: "disable"
|
||||
Reference in New Issue
Block a user