refactor: move nc-app secrets to seperate overwrite yml
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f0bbb28626
commit
c646f95706
|
@ -32,6 +32,9 @@ EXTRA_VOLUME=/dev/null:/tmp/.dummy
|
||||||
|
|
||||||
# X_FRAME_OPTIONS_ENABLED=1
|
# X_FRAME_OPTIONS_ENABLED=1
|
||||||
# X_FRAME_OPTIONS_ALLOW_FROM=embedding-site.example.org
|
# X_FRAME_OPTIONS_ALLOW_FROM=embedding-site.example.org
|
||||||
|
|
||||||
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.apps.yml"
|
||||||
# APPS="calendar sociallogin onlyoffice"
|
# APPS="calendar sociallogin onlyoffice"
|
||||||
# ONLYOFFICE_URL=https://onlyoffice.example.com
|
# ONLYOFFICE_URL=https://onlyoffice.example.com
|
||||||
# BBB_URL=https://talk.example.org/bigbluebutton/ # trailing slash!
|
# BBB_URL=https://talk.example.org/bigbluebutton/ # trailing slash!
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
secrets:
|
||||||
|
- onlyoffice_jwt
|
||||||
|
- bbb_secret
|
||||||
|
environment:
|
||||||
|
- APPS
|
||||||
|
- ONLYOFFICE_URL
|
||||||
|
- BBB_URL
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
onlyoffice_jwt:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_onlyoffice_jwt_${SECRET_ONLYOFFICE_JWT_VERSION}
|
||||||
|
bbb_secret:
|
||||||
|
external: true
|
||||||
|
name: ${STACK_NAME}_bbb_secret_${SECRET_BBB_SECRET_VERSION}
|
10
compose.yml
10
compose.yml
|
@ -48,8 +48,6 @@ services:
|
||||||
secrets:
|
secrets:
|
||||||
- db_password
|
- db_password
|
||||||
- admin_password
|
- admin_password
|
||||||
- onlyoffice_jwt
|
|
||||||
- bbb_secret
|
|
||||||
environment:
|
environment:
|
||||||
- APPS
|
- APPS
|
||||||
- X_FRAME_OPTIONS_ALLOW_FROM
|
- X_FRAME_OPTIONS_ALLOW_FROM
|
||||||
|
@ -63,8 +61,6 @@ services:
|
||||||
- REDIS_HOST=cache
|
- REDIS_HOST=cache
|
||||||
- OVERWRITEPROTOCOL=https
|
- OVERWRITEPROTOCOL=https
|
||||||
- PHP_MEMORY_LIMIT=1G
|
- PHP_MEMORY_LIMIT=1G
|
||||||
- ONLYOFFICE_URL
|
|
||||||
- BBB_URL
|
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html/
|
- nextcloud:/var/www/html/
|
||||||
- nextapps:/var/www/html/custom_apps:cached
|
- nextapps:/var/www/html/custom_apps:cached
|
||||||
|
@ -111,12 +107,6 @@ secrets:
|
||||||
admin_password:
|
admin_password:
|
||||||
external: true
|
external: true
|
||||||
name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION}
|
name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION}
|
||||||
onlyoffice_jwt:
|
|
||||||
external: true
|
|
||||||
name: ${STACK_NAME}_onlyoffice_jwt_${SECRET_ONLYOFFICE_JWT_VERSION}
|
|
||||||
bbb_secret:
|
|
||||||
external: true
|
|
||||||
name: ${STACK_NAME}_bbb_secret_${SECRET_BBB_SECRET_VERSION}
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
|
|
|
@ -12,3 +12,12 @@ Add SMTP Config to your .env file:
|
||||||
# MAIL_DOMAIN=
|
# MAIL_DOMAIN=
|
||||||
# SECRET_SMTP_PASSWORD_VERSION=v1
|
# SECRET_SMTP_PASSWORD_VERSION=v1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Some Apps can also be managed with abra app cmd!
|
||||||
|
|
||||||
|
```
|
||||||
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.apps.yml"
|
||||||
|
# APPS="calendar sociallogin onlyoffice"
|
||||||
|
# ONLYOFFICE_URL=https://onlyoffice.example.com
|
||||||
|
# BBB_URL=https://talk.example.org/bigbluebutton/ # trailing slash!
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue