|
|
|
@ -193,6 +193,8 @@ services:
|
|
|
|
|
- GITEA__database__USER=${USER}
|
|
|
|
|
- GITEA__database__PASSWD=${PASSWORD}
|
|
|
|
|
- GITEA__server__LANDING_PAGE=/${USER}
|
|
|
|
|
- GITEA__attachment__MAX_SIZE=5000
|
|
|
|
|
#- GITEA__repository.upload__FILE_MAX_SIZE=5000
|
|
|
|
|
# NOTE: This next line can be commented out if you want to run the wizard locally
|
|
|
|
|
# But it needs to be set properly as the base url to work remotely
|
|
|
|
|
# no matter how you run the wizard
|
|
|
|
@ -249,19 +251,19 @@ services:
|
|
|
|
|
- MYSQL_HOST=mysql-nextcloud
|
|
|
|
|
- NEXTCLOUD_ADMIN_USER=${USER}
|
|
|
|
|
- NEXTCLOUD_ADMIN_PASSWORD=${PASSWORD}
|
|
|
|
|
- NEXTCLOUD_TRUSTED_DOMAINS=${DOMAIN} *.${DOMAIN} cloud.${DOMAIN} nextcloud.${DOMAIN}
|
|
|
|
|
- TRUSTED_PROXIES=nginx-proxy
|
|
|
|
|
- VIRTUAL_HOST=${DOMAIN},*.${DOMAIN},cloud.${DOMAIN},nextcloud.${DOMAIN}
|
|
|
|
|
- VIRTUAL_PORT=8888
|
|
|
|
|
- NEXTCLOUD_TRUSTED_DOMAINS=${DOMAIN} *.${DOMAIN} cloud.${DOMAIN} nextcloud.${DOMAIN} #localdev.${DOMAIN}
|
|
|
|
|
#- APACHE_DISABLE_REWRITE_IP=1
|
|
|
|
|
#- OVERWRITEHOST=${DOMAIN}
|
|
|
|
|
#- TRUSTED_PROXIES=nginx-proxy
|
|
|
|
|
#- OVERWRITEHOST=${DOMAIN}:8888
|
|
|
|
|
#- OVERWRITEWEBROOT=/cloud
|
|
|
|
|
#- OVERWRITEPROTOCOL=https
|
|
|
|
|
#- OVERWRITECLIURL=http://localhost/
|
|
|
|
|
- VIRTUAL_HOST=${DOMAIN},*.${DOMAIN},cloud.${DOMAIN},nextcloud.${DOMAIN} #,localdev.${DOMAIN}
|
|
|
|
|
- VIRTUAL_PORT=8888
|
|
|
|
|
# TODO: It would be great to move thie to a subdirectory ${DOMAIN}/cloud
|
|
|
|
|
# as opposed to a subdomain cloud.${DOMAIN}
|
|
|
|
|
# but it is really, really difficult with nextcloud
|
|
|
|
|
- VIRTUAL_PATH=/cloud/
|
|
|
|
|
- VIRTUAL_PATH=/cloud
|
|
|
|
|
- VIRTUAL_DEST=/
|
|
|
|
|
# TODO: add redis and chron
|
|
|
|
|
#- REDIS_HOST=redis
|
|
|
|
@ -271,8 +273,9 @@ services:
|
|
|
|
|
#redis:
|
|
|
|
|
ports:
|
|
|
|
|
- 8888:80
|
|
|
|
|
expose:
|
|
|
|
|
- 8888
|
|
|
|
|
- 8443:443
|
|
|
|
|
#expose:
|
|
|
|
|
# - 8888
|
|
|
|
|
|
|
|
|
|
mysql-nextcloud:
|
|
|
|
|
image: mariadb:10
|
|
|
|
|