deployment

This commit is contained in:
steven@rockyserver 2026-11-01 14:22:24 +00:00
commit 49e53ddf33
5 changed files with 341 additions and 7 deletions

1
domains/stvnliu.me/ocis/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
data/

View file

@ -0,0 +1,36 @@
directives:
child-src:
- '''self'''
connect-src:
- '''self'''
- 'blob:'
# In contrary to bash and docker the default is given after the | character
- 'https://sso.stvnliu.me/'
default-src:
- '''none'''
font-src:
- '''self'''
- 'data:'
frame-ancestors:
- '''self'''
frame-src:
- '''self'''
- 'blob:'
img-src:
- '''self'''
- 'data:'
- 'blob:'
manifest-src:
- '''self'''
media-src:
- '''self'''
object-src:
- '''self'''
- 'blob:'
script-src:
- '''self'''
- '''unsafe-inline'''
style-src:
- '''self'''
- '''unsafe-inline'''

View file

@ -0,0 +1,127 @@
token_manager:
jwt_secret: TB&YgvDl$5G$ayb!ZV$CR-VOq.i6*eAD
machine_auth_api_key: 94XpQh&mak$n*!&LEanSjY!nyERvz2YR
system_user_api_key: 4UDz-ZaMh+-z%pEWED84%abfhdIOjaVr
transfer_secret: y%WqY20!B4b-R47#%VZl9XSU!AgHWzuZ
system_user_id: 6ef2161a-63ea-4808-9e17-9e8a4efb7951
admin_user_id: a864b222-6135-4a24-9558-8cb0b8fed8e0
graph:
application:
id: fccde9be-90d7-4c08-a551-049c5733c297
events:
tls_insecure: true
spaces:
insecure: true
identity:
ldap:
bind_password: Qxm*24Yammlukz+qYBbcg6O=Of=.pXiP
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb
idp:
ldap:
bind_password: O$AuAg%si#5win@J$If.6hZa2jn.VGbf
idm:
service_user_passwords:
admin_password: LQR=Fo%FIj4%0u*ut-QBZFo7tySf8OV7
idm_password: Qxm*24Yammlukz+qYBbcg6O=Of=.pXiP
reva_password: RSAbq#0OwtM31wbt6m!7w&twYmyTXi7r
idp_password: O$AuAg%si#5win@J$If.6hZa2jn.VGbf
collaboration:
wopi:
secret: Z+7VuUB-YllO!1U&WIgDFbvTXqO%Jw3t
app:
insecure: true
proxy:
oidc:
insecure: true
insecure_backends: true
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb
frontend:
app_handler:
insecure: true
archiver:
insecure: true
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb
auth_basic:
auth_providers:
ldap:
bind_password: RSAbq#0OwtM31wbt6m!7w&twYmyTXi7r
auth_bearer:
auth_providers:
oidc:
insecure: true
users:
drivers:
ldap:
bind_password: RSAbq#0OwtM31wbt6m!7w&twYmyTXi7r
groups:
drivers:
ldap:
bind_password: RSAbq#0OwtM31wbt6m!7w&twYmyTXi7r
ocdav:
insecure: true
ocm:
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb
thumbnails:
thumbnail:
transfer_secret: MI$Xv9Bl0oBvUulhVkPObbHOH0Xt-Yoh
webdav_allow_insecure: true
cs3_allow_insecure: true
search:
events:
tls_insecure: true
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb
audit:
events:
tls_insecure: true
settings:
service_account_ids:
- ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
sharing:
events:
tls_insecure: true
storage_users:
events:
tls_insecure: true
mount_id: 551d36c3-d772-43c6-8a39-1cc5c4ebc057
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb
notifications:
notifications:
events:
tls_insecure: true
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb
nats:
nats:
tls_skip_verify_client_cert: true
gateway:
storage_registry:
storage_users_mount_id: 551d36c3-d772-43c6-8a39-1cc5c4ebc057
userlog:
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb
auth_service:
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb
clientlog:
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb
activitylog:
service_account:
service_account_id: ab6fc6ba-c2d3-490b-befe-8e1a1c4a4ef9
service_account_secret: ^@!Z3*NM5-zxYdqWcrgllW+#17eEUORb

View file

@ -0,0 +1,7 @@
role_assignment:
driver: oidc
oidc_role_mapper:
role_claim: roles
role_mapping:
- role_name: admin
claim_value: ocisAdmin

View file

@ -0,0 +1,40 @@
networks:
proxy_net:
name: "proxy-net"
external: true
services:
ocis:
container_name: ocis_stvnliu-me
image: owncloud/ocis:latest
environment:
PROXY_TLS: "false"
OCIS_URL: "https://ocis.stvnliu.me"
OCIS_LOG_LEVEL: info
OCIS_EXCLUDE_RUN_SERVICES: idp
# Authentik OIDC Issuer Configuration
OCIS_OIDC_ISSUER: https://sso.stvnliu.me/application/o/ocis/
WEB_OIDC_CLIENT_ID: web
PROXY_CSP_CONFIG_FILE_LOCATION: /etc/ocis/csp.yaml
# Auto-provision users in OCIS when logging in via Authentik
PROXY_AUTOPROVISION_ACCOUNTS: true
PROXY_AUTOPROVISION_CLAIM_USERNAME: preferred_username
PROXY_AUTOPROVISION_CLAIM_EMAIL: email
PROXY_AUTOPROVISION_CLAIM_DISPLAYNAME: name
volumes:
- "./config/ocis.yaml:/etc/ocis/ocis.yaml"
- "./config/csp.yaml:/etc/ocis/csp.yaml"
- "./config/proxy.yaml:/etc/ocis/proxy.yaml"
- "./data:/var/lib/ocis"
networks:
- proxy_net
labels:
- traefik.enable=true
- traefik.http.routers.ocis-stvnliu-me.rule=Host(`ocis.stvnliu.me`)
- traefik.http.routers.ocis-stvnliu-me.entrypoints=websecure
- traefik.http.routers.ocis-stvnliu-me.tls=true
- traefik.http.services.ocis-stvnliu-me.loadbalancer.server.port=9200