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
|
APP_DATA_PATH = /data/gitea
|
||||||
DOMAIN = forgejo
|
DOMAIN = forgejo
|
||||||
SSH_DOMAIN = localhost
|
SSH_DOMAIN = localhost
|
||||||
HTTP_PORT = 7000
|
HTTP_PORT = 80
|
||||||
ROOT_URL = http://forgejo:7000/
|
ROOT_URL = http://forgejo:80/
|
||||||
DISABLE_SSH = false
|
DISABLE_SSH = false
|
||||||
SSH_PORT = 22
|
SSH_PORT = 22
|
||||||
SSH_LISTEN_PORT = 22
|
SSH_LISTEN_PORT = 22
|
||||||
|
|
|
@ -5,8 +5,7 @@ services:
|
||||||
image: codeberg.org/forgejo/forgejo:1.20
|
image: codeberg.org/forgejo/forgejo:1.20
|
||||||
container_name: forgejo
|
container_name: forgejo
|
||||||
environment:
|
environment:
|
||||||
- USER_UID=1000
|
- USER_UID=1001
|
||||||
- USER_GID=1000
|
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- ftest
|
- ftest
|
||||||
|
@ -16,7 +15,7 @@ services:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./conf/app.ini:/data/gitea/conf/app.ini:wo
|
- ./conf/app.ini:/data/gitea/conf/app.ini:wo
|
||||||
ports:
|
ports:
|
||||||
- "7000:7000"
|
- "7000:80"
|
||||||
- "2222:22"
|
- "2222:22"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|
|
@ -2,13 +2,13 @@ version = "0.1.0"
|
||||||
name = "forgejo"
|
name = "forgejo"
|
||||||
homepage = "https://forgejo.org"
|
homepage = "https://forgejo.org"
|
||||||
repository = "https://codeberg.org/forgejo/forgejo"
|
repository = "https://codeberg.org/forgejo/forgejo"
|
||||||
container_host = "http://forgejo:7000"
|
container_host = "http://forgejo"
|
||||||
[[init_scripts]]
|
[[init_scripts]]
|
||||||
name = "forgejo-init-script"
|
name = "forgejo-init-script"
|
||||||
url = "https://git.batsense.net/ForgeFlux/forgejo-init-script"
|
url = "https://git.batsense.net/ForgeFlux/forgejo-init-script"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
container = "forgeflux/forgejo-init-script"
|
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]]
|
[[suites]]
|
||||||
name = "forge_federation"
|
name = "forge_federation"
|
||||||
|
@ -19,7 +19,7 @@ name = "webfinger"
|
||||||
url = "https://git.batsense.net/ForgeFlux/webfinger-test"
|
url = "https://git.batsense.net/ForgeFlux/webfinger-test"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
container = "forgeflux/webfinger-test"
|
container = "forgeflux/webfinger-test"
|
||||||
env_vars = { FTEST_USER="alice@forgejo:7000"}
|
env_vars = { FTEST_USER="alice@forgejo"}
|
||||||
[[suites.tests]]
|
[[suites.tests]]
|
||||||
name = "nodeinfo"
|
name = "nodeinfo"
|
||||||
url = "https://git.batsense.net/ForgeFlux/nodeinfo-test"
|
url = "https://git.batsense.net/ForgeFlux/nodeinfo-test"
|
||||||
|
|
Loading…
Reference in a new issue