Compare commits

...

2 commits

Author SHA1 Message Date
364484d8fd
feat: Enable ssh
Signed-off-by: Awiteb <a@4rs.nl>
2024-10-03 01:49:26 +03:00
4f0773f9ec
chore: Expose the localhost to the container
Signed-off-by: Awiteb <a@4rs.nl>
2024-10-03 01:49:26 +03:00
2 changed files with 4 additions and 5 deletions

View file

@ -1,8 +1,7 @@
# Copyright 2023 The Forgejo Authors.
# Copyright 2024 Awiteb <a@4rs.nl>.
# SPDX-License-Identifier: MIT
version: "3"
services:
docker-in-docker:
image: docker:dind
@ -11,7 +10,7 @@ services:
command: [ "dockerd", "-H", "tcp://0.0.0.0:2375", "--tls=false" ]
forgejo:
image: codeberg.org/forgejo/forgejo:7
image: codeberg.org/forgejo/forgejo:8
container_name: forgejo
command: >-
bash -c '
@ -30,7 +29,8 @@ services:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 8080:3000
- 127.0.0.1:8080:3000
- 0.0.0.0:22:22
runner-register:
image: code.forgejo.org/forgejo/runner:3.3.0

View file

@ -71,7 +71,6 @@ DOMAIN = 0.0.0.0
HTTP_PORT = 3000
; CHANGE_ME (Your full instance URL)
ROOT_URL = https://example.com
DISABLE_SSH = true
OFFLINE_MODE = false
; CHANGE_ME (Your username)
LANDING_PAGE = /awiteb