unmerging both traefik and gitea networks

using host-gateway
This commit is contained in:
2026-10-17 03:16:59 +05:30
parent b4bccaa5ed
commit af9df0ec14

View File

@@ -70,7 +70,7 @@ services:
- registry - registry
restart: always restart: always
extra_hosts: extra_hosts:
- "dcr.aetoskia.com:192.168.1.111" - "dcr.aetoskia.com:host-gateway"
profiles: profiles:
- server-pi - server-pi
@@ -87,9 +87,8 @@ services:
volumes: *gitea_volumes volumes: *gitea_volumes
profiles: profiles:
- private-pi - private-pi
networks: extra_hosts:
- default - "drone.aetoskia.com:host-gateway"
- traefik_backend
drone-server: drone-server:
image: drone/drone:2 image: drone/drone:2
@@ -106,7 +105,7 @@ services:
DRONE_SERVER_PROTO: https DRONE_SERVER_PROTO: https
restart: always restart: always
extra_hosts: extra_hosts:
- "git.aetoskia.com:192.168.1.111" - "git.aetoskia.com:host-gateway"
command: sh -c "update-ca-certificates && drone-server" command: sh -c "update-ca-certificates && drone-server"
profiles: profiles:
- server-pi - server-pi
@@ -130,8 +129,8 @@ services:
DRONE_LOGS_TRACE: true DRONE_LOGS_TRACE: true
extra_hosts: extra_hosts:
- "server-pi:192.168.1.35" - "server-pi:192.168.1.35"
- "private-pi:192.168.1.111" - "private-pi:host-gateway"
- "drone.aetoskia.com:192.168.1.111" - "drone.aetoskia.com:host-gateway"
profiles: profiles:
- server-pi - server-pi
@@ -179,8 +178,3 @@ services:
# restart: unless-stopped # restart: unless-stopped
# profiles: # profiles:
# - server-pi # - server-pi
networks:
traefik_backend:
external: true
name: traefik_backend