version: "2" services: outline_redis: image: redis restart: always container_name: outline_redis outline_postgres: image: postgres:13 restart: always container_name: outline_postgres environment: - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_USER=outline - POSTGRES_DB=outline volumes: - /var/lib/docker/volumes/outline/db:/var/lib/postgresql/data:Z outline_minio: image: minio/minio restart: always container_name: outline_minio volumes: - /var/lib/docker/volumes/outline/data:/data:Z environment: - MINIO_ROOT_USER=minio - MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD} - MINIO_BROWSER_REDIRECT_URL=${MINIO_BROWSER_REDIRECT_URL} ports: - 9000:9000 - 9001:9001 command: "server /data --console-address :9001" outline: image: outlinewiki/outline user: root restart: always container_name: outline # command: sh -c "yarn sequelize:migrate && yarn start" depends_on: - outline_postgres - outline_redis - outline_minio environment: - PGSSLMODE=disable - SECRET_KEY=${SECRET_KEY} - UTILS_SECRET=${UTILS_SECRET} - DATABASE_URL=postgres://outline:${POSTGRES_PASSWORD}@outline_postgres:5432/outline - REDIS_URL=redis://outline_redis:6379 - URL=${WIKI_URL} - PORT=3000 - AWS_ACCESS_KEY_ID=minio - AWS_REGION=us-east-1 - AWS_SECRET_ACCESS_KEY=${MINIO_ROOT_PASSWORD} - AWS_S3_UPLOAD_BUCKET_URL=${WIKIDATA_URL} - AWS_S3_UPLOAD_BUCKET_NAME=outline - AWS_S3_UPLOAD_MAX_SIZE=26214400 - AWS_S3_FORCE_PATH_STYLE=true - AWS_S3_ACL=private # - SLACK_KEY=505633415890.2395437869377 # - SLACK_SECRET=114f1ba04f85ac91de711ee42353e73e - FORCE_HTTPS=false - OIDC_CLIENT_ID=outline - OIDC_CLIENT_SECRET=${OIDC_SECRET} - OIDC_AUTH_URI=${AUTH_URL}/api/oidc/authorize - OIDC_TOKEN_URI=${AUTH_URL}/api/oidc/token - OIDC_USERINFO_URI=${AUTH_URL}/api/oidc/userinfo - OIDC_DISPLAY_NAME=Authelia - OIDC_USERNAME_CLAIM=email - OIDC_SCOPES=openid profile email ports: - 3000:3000