feat: added forgejo settings

This commit is contained in:
sujiba 2024-05-24 01:03:36 +02:00
parent fe35b50124
commit e514a0fb66

View file

@ -34,6 +34,10 @@ services:
' '
environment: environment:
FORGEJO__security__INSTALL_LOCK: "true" FORGEJO__security__INSTALL_LOCK: "true"
FORGEJO__server__DISABLE_SSH: "true"
FORGEJO__service__DISABLE_REGISTRATION: "true"
FORGEJO__service__SHOW_REGISTRATION_BUTTON: "false"
FORGEJO__service__DEFAULT_KEEP_EMAIL_PRIVATE: "true"
FORGEJO__log__LEVEL: "debug" FORGEJO__log__LEVEL: "debug"
FORGEJO__repository__ENABLE_PUSH_CREATE_USER: "true" FORGEJO__repository__ENABLE_PUSH_CREATE_USER: "true"
FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE: "false" FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE: "false"
@ -41,7 +45,7 @@ services:
volumes: volumes:
- ./volumes/forgejo-data:/data - ./volumes/forgejo-data:/data
ports: ports:
- "127.0.0.1:13000:3000" - "127.0.0.1:3001:3000"
runner-daemon: runner-daemon:
image: code.forgejo.org/forgejo/runner:3.3.0 image: code.forgejo.org/forgejo/runner:3.3.0