Add internal network.
This commit is contained in:
@@ -17,6 +17,7 @@ services:
|
||||
- GITEA__server__ROOT_URL=${GITEA_ROOT_URL}
|
||||
- GITEA__server__HTTP_PORT=3000
|
||||
- GITEA__server__SSH_PORT=22
|
||||
- GITEA__service__DISABLE_REGISTRATION=true
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- gitea
|
||||
@@ -27,6 +28,8 @@ services:
|
||||
ports:
|
||||
- "${GITEA_HTTP_PORT}:3000"
|
||||
- "${GITEA_SSH_PORT}:22"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
|
||||
Reference in New Issue
Block a user