fix(docker-compose.yml): run gitea on host network
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
version: "3.8"
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
@@ -14,8 +12,11 @@ services:
|
||||
- GITEA__database__DB_TYPE=sqlite3
|
||||
- GITEA__server__ROOT_URL=http://localhost:3000/
|
||||
restart: always
|
||||
networks:
|
||||
- gitea
|
||||
network_mode: host
|
||||
# networks:
|
||||
# - gitea
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- ./gitea/data:/data
|
||||
# - ./gitea/config:/data/gitea/conf
|
||||
|
||||
Reference in New Issue
Block a user