Revert "docker networking, force local network"
This reverts commit 80ad55ad56
.
This commit is contained in:
parent
80ad55ad56
commit
93beacdfe6
1 changed files with 0 additions and 9 deletions
|
@ -18,17 +18,12 @@
|
||||||
volumes:
|
volumes:
|
||||||
docker_certs:
|
docker_certs:
|
||||||
|
|
||||||
networks:
|
|
||||||
forgejo:
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
docker-in-docker:
|
docker-in-docker:
|
||||||
image: code.forgejo.org/oci/docker:dind
|
image: code.forgejo.org/oci/docker:dind
|
||||||
hostname: docker # Must set hostname for both internal DNS and TLS to work as certs are only valid for docker and localhost
|
hostname: docker # Must set hostname for both internal DNS and TLS to work as certs are only valid for docker and localhost
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
privileged: true
|
privileged: true
|
||||||
networks:
|
|
||||||
- forgejo
|
|
||||||
environment:
|
environment:
|
||||||
DOCKER_TLS_CERTDIR: "/certs" # set to "" to disable the use of TLS, also manually update existing runner configs to use port 2375
|
DOCKER_TLS_CERTDIR: "/certs" # set to "" to disable the use of TLS, also manually update existing runner configs to use port 2375
|
||||||
DOCKER_HOST: "docker" # remove aswell to disable TLS
|
DOCKER_HOST: "docker" # remove aswell to disable TLS
|
||||||
|
@ -38,8 +33,6 @@ services:
|
||||||
forgejo:
|
forgejo:
|
||||||
image: codeberg.org/forgejo/forgejo:1.21
|
image: codeberg.org/forgejo/forgejo:1.21
|
||||||
hostname: forgejo
|
hostname: forgejo
|
||||||
networks:
|
|
||||||
- forgejo
|
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/forgejo-data:/data
|
- /srv/forgejo-data:/data
|
||||||
ports:
|
ports:
|
||||||
|
@ -71,8 +64,6 @@ services:
|
||||||
build: ../../
|
build: ../../
|
||||||
user: "1000" # defaults to 1000,
|
user: "1000" # defaults to 1000,
|
||||||
restart: unless-stopped # needed for fixing file ownership on restart
|
restart: unless-stopped # needed for fixing file ownership on restart
|
||||||
networks:
|
|
||||||
- forgejo
|
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/runner-data:/data
|
- /srv/runner-data:/data
|
||||||
- docker_certs:/certs
|
- docker_certs:/certs
|
||||||
|
|
Loading…
Reference in a new issue