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