feat & fix: use UID=1001 to match atm@lab.batsense.net and listen on 80
This commit is contained in:
parent
8fcd54494c
commit
b31b978c5a
3 changed files with 7 additions and 8 deletions
|
@ -16,8 +16,8 @@ TEMP_PATH = /data/gitea/uploads
|
|||
APP_DATA_PATH = /data/gitea
|
||||
DOMAIN = forgejo
|
||||
SSH_DOMAIN = localhost
|
||||
HTTP_PORT = 7000
|
||||
ROOT_URL = http://forgejo:7000/
|
||||
HTTP_PORT = 80
|
||||
ROOT_URL = http://forgejo:80/
|
||||
DISABLE_SSH = false
|
||||
SSH_PORT = 22
|
||||
SSH_LISTEN_PORT = 22
|
||||
|
|
|
@ -5,8 +5,7 @@ services:
|
|||
image: codeberg.org/forgejo/forgejo:1.20
|
||||
container_name: forgejo
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- USER_UID=1001
|
||||
restart: always
|
||||
networks:
|
||||
- ftest
|
||||
|
@ -16,7 +15,7 @@ services:
|
|||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./conf/app.ini:/data/gitea/conf/app.ini:wo
|
||||
ports:
|
||||
- "7000:7000"
|
||||
- "7000:80"
|
||||
- "2222:22"
|
||||
|
||||
networks:
|
||||
|
|
|
@ -2,13 +2,13 @@ version = "0.1.0"
|
|||
name = "forgejo"
|
||||
homepage = "https://forgejo.org"
|
||||
repository = "https://codeberg.org/forgejo/forgejo"
|
||||
container_host = "http://forgejo:7000"
|
||||
container_host = "http://forgejo"
|
||||
[[init_scripts]]
|
||||
name = "forgejo-init-script"
|
||||
url = "https://git.batsense.net/ForgeFlux/forgejo-init-script"
|
||||
version = "0.1.0"
|
||||
container = "forgeflux/forgejo-init-script"
|
||||
env_vars = { FORGEJO_URL="http://forgejo:7000", FORGEJO_SSH_URL="ssh://git@forgejo:2222" }
|
||||
env_vars = { FORGEJO_URL="http://forgejo", FORGEJO_SSH_URL="ssh://git@forgejo:2222" }
|
||||
|
||||
[[suites]]
|
||||
name = "forge_federation"
|
||||
|
@ -19,7 +19,7 @@ name = "webfinger"
|
|||
url = "https://git.batsense.net/ForgeFlux/webfinger-test"
|
||||
version = "0.1.0"
|
||||
container = "forgeflux/webfinger-test"
|
||||
env_vars = { FTEST_USER="alice@forgejo:7000"}
|
||||
env_vars = { FTEST_USER="alice@forgejo"}
|
||||
[[suites.tests]]
|
||||
name = "nodeinfo"
|
||||
url = "https://git.batsense.net/ForgeFlux/nodeinfo-test"
|
||||
|
|
Loading…
Reference in a new issue