updated owncloud compose with env varibles

This commit is contained in:
tolerryan
2025-12-04 10:35:40 -06:00
parent 2c998a494f
commit fb5066e838

View File

@@ -5,6 +5,10 @@ services:
stdin_open: true stdin_open: true
tty: true tty: true
restart: always restart: always
environment:
- OWNCLOUD_TRUSTED_DOMAINS=${OWNCLOUD_TRUSTED_DOMAINS:?err}
- OWNCLOUD_UID=${USER:?err}
- OWNCLOUD_GID=${GROUP:?err}
expose: expose:
- '80' - '80'
- '8080' - '8080'
@@ -20,6 +24,7 @@ services:
stdin_open: true stdin_open: true
tty: true tty: true
restart: always restart: always
user: ${USER:?err}:${GROUP:?err}
networks: networks:
- onlyoffice - onlyoffice
environment: environment: