chore: Expose the localhost to the container

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb 2024-10-02 21:32:22 +00:00
parent 6c78d87ec9
commit 4f0773f9ec
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

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,7 @@ services:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 8080:3000
- 127.0.0.1:8080:3000
runner-register:
image: code.forgejo.org/forgejo/runner:3.3.0