chore: Expose the localhost to the container
Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
parent
6c78d87ec9
commit
4f0773f9ec
1 changed files with 3 additions and 4 deletions
|
@ -1,8 +1,7 @@
|
||||||
# Copyright 2023 The Forgejo Authors.
|
# Copyright 2023 The Forgejo Authors.
|
||||||
|
# Copyright 2024 Awiteb <a@4rs.nl>.
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
docker-in-docker:
|
docker-in-docker:
|
||||||
image: docker:dind
|
image: docker:dind
|
||||||
|
@ -11,7 +10,7 @@ services:
|
||||||
command: [ "dockerd", "-H", "tcp://0.0.0.0:2375", "--tls=false" ]
|
command: [ "dockerd", "-H", "tcp://0.0.0.0:2375", "--tls=false" ]
|
||||||
|
|
||||||
forgejo:
|
forgejo:
|
||||||
image: codeberg.org/forgejo/forgejo:7
|
image: codeberg.org/forgejo/forgejo:8
|
||||||
container_name: forgejo
|
container_name: forgejo
|
||||||
command: >-
|
command: >-
|
||||||
bash -c '
|
bash -c '
|
||||||
|
@ -30,7 +29,7 @@ services:
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- 8080:3000
|
- 127.0.0.1:8080:3000
|
||||||
|
|
||||||
runner-register:
|
runner-register:
|
||||||
image: code.forgejo.org/forgejo/runner:3.3.0
|
image: code.forgejo.org/forgejo/runner:3.3.0
|
||||||
|
|
Loading…
Reference in a new issue