diff --git a/docker/w9gitea/.env b/docker/w9gitea/.env index 2217a502..29687388 100644 --- a/docker/w9gitea/.env +++ b/docker/w9gitea/.env @@ -1,18 +1,17 @@ -POWER_PASSWORD=1PrMxExC45LsCT - APP_NAME=gitea APP_VERSION=latest # port, APP_PORT is need at leaset APP_HTTP_PORT=3000 -APP_SSH_PORT=222 APP_NETWORK=websoft9 +APP_URL=119.8.96.66 -APP_URL_REPLACE=true -APP_URL=appname.example.com - +INSTALL_LOCK=true +DISABLE_SSH=true +DISABLE_REGISTRATION=true RUN_MODE=prod +HTTP_PORT = 3000 DOMAIN=$APP_URL SSH_DOMAIN=$APP_URL -ROOT_URL="" +ROOT_URL=http://$APP_URL:$HTTP_PORT DISABLE_REGISTRATION=false -REQUIRE_SIGNIN_VIEW=false \ No newline at end of file +REQUIRE_SIGNIN_VIEW=false diff --git a/docker/w9gitea/Dockerfile b/docker/w9gitea/Dockerfile index 5afe5159..5ab5bd7a 100644 --- a/docker/w9gitea/Dockerfile +++ b/docker/w9gitea/Dockerfile @@ -1 +1 @@ -FROM gitea/gitea-ce:latest \ No newline at end of file +FROM gitea/gitea:latest \ No newline at end of file diff --git a/docker/w9gitea/docker-compose.yml b/docker/w9gitea/docker-compose.yml index 4a533081..4676329a 100644 --- a/docker/w9gitea/docker-compose.yml +++ b/docker/w9gitea/docker-compose.yml @@ -19,7 +19,6 @@ services: - /etc/localtime:/etc/localtime:ro ports: - "$APP_HTTP_PORT:3000" - - "$APP_SSH_PORT:22" networks: default: