Synology NAS + Portainer: How to install? #8224
-
Hello, I’m having trouble understanding the installation process as described in the official documentation, as it seems incomplete. Could you help me with setting up the installation on a Synology NAS using Portainer? I have the official Docker Compose file and the Docker environment file. However, there are a few things I need clarification on:
I struggle with properly configuring these files. It would be cool to connect it with the Synology user system using SSO, but that's another step. First I need to install it. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 18 replies
-
I can't help on anything related to Synology or Portainer, however the purpose of |
Beta Was this translation helpful? Give feedback.
-
This is my current docker compose file:
outline:
I don't know how to move out from this. :/ |
Beta Was this translation helpful? Give feedback.
-
I just get it deployed on my Synology with portainer here |
Beta Was this translation helpful? Give feedback.
-
Ok, I finally figured it out!
version: "3.7"
services:
outline:
image: outlinewiki/outline:latest
container_name: OutlineWiki
ports:
- "3000:3000"
depends_on:
- postgres
- redis
volumes:
- /volume1/docker/outlinewiki/storage-data:/var/lib/outline/data
extra_hosts:
- "###PLACEDOMAIN###:###PLACEIP###" # - here, your network.local to your local IP
environment:
NODE_ENV: production
SECRET_KEY: ###PLACEYOURS###
UTILS_SECRET: ###PLACEYOURS###
# HTTP
URL: http://###PLACEYOURS###:3000
PORT: 3000
FORCE_HTTPS: false
WEB_CONCURRENCY: 1a
# Rate limiter
RATE_LIMITER_ENABLED: true
RATE_LIMITER_DURATION_WINDOW: 60
RATE_LIMITER_REQUESTS: 600
# Authentication
OIDC_CLIENT_ID: ###PLACEYOURS###
OIDC_CLIENT_SECRET: ###PLACEYOURS###
OIDC_AUTH_URI: http://###PLACEDOMAIN###/webman/sso/SSOOauth.cgi
OIDC_TOKEN_URI: http://###PLACEDOMAIN###/webman/sso/SSOAccessToken.cgi
OIDC_USERINFO_URI: http://###PLACEDOMAIN###/webman/sso/SSOUserInfo.cgi
OIDC_USERNAME_CLAIM: username
OIDC_SCOPES: openid groups email
OIDC_DISPLAY_NAME: Synology SSO
# Storage
FILE_STORAGE: local
FILE_STORAGE_LOCAL_ROOT_DIR: /var/lib/outline/data
FILE_STORAGE_UPLOAD_MAX_SIZE: 26214400
# Database
DATABASE_URL: postgres://user:pass@postgres:5432/outline
PGSSLMODE: disable
# Redis
REDIS_URL: redis://redis:6379
# Other
LOG_LEVEL: info
ENABLE_UPDATES: true
DEFAULT_LANGUAGE: cs_CZ
redis:
image: redis:7
container_name: OutlineWiki-redis
expose:
- 6379
command: redis-server
postgres:
image: postgres:latest
container_name: OutlineWiki-postgres
expose:
- 5432
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: pass
POSTGRES_DB: outline
volumes:
- /volume1/docker/outlinewiki/postgres-data:/var/lib/postgresql/data
|
Beta Was this translation helpful? Give feedback.
Ok, I finally figured it out!
My solution: