add dns entries
This commit is contained in:
@@ -3,6 +3,9 @@ services:
|
|||||||
container_name: gitea
|
container_name: gitea
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgresql
|
- postgresql
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.147
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
image: docker.io/gitea/gitea:latest
|
image: docker.io/gitea/gitea:latest
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
portainer:
|
portainer:
|
||||||
container_name: portainer-agent
|
container_name: portainer-agent
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.147
|
||||||
image: portainer/agent:latest
|
image: portainer/agent:latest
|
||||||
ports:
|
ports:
|
||||||
- 9001:9001
|
- 9001:9001
|
||||||
|
@@ -4,6 +4,9 @@ services:
|
|||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- NET_RAW
|
- NET_RAW
|
||||||
container_name: tailscaled
|
container_name: tailscaled
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.147
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
hostname: ps08rp
|
hostname: ps08rp
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
technitium:
|
technitium:
|
||||||
container_name: technitium
|
container_name: technitium
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.147
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
image: technitium/dns-server:latest
|
image: technitium/dns-server:latest
|
@@ -2,6 +2,9 @@ services:
|
|||||||
traefik:
|
traefik:
|
||||||
command: traefik
|
command: traefik
|
||||||
container_name: traefik
|
container_name: traefik
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.147
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
image: docker.io/traefik:v3.0
|
image: docker.io/traefik:v3.0
|
@@ -1,6 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
watchtower:
|
watchtower:
|
||||||
container_name: watchtower
|
container_name: watchtower
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.147
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
image: containrrr/watchtower:latest
|
image: containrrr/watchtower:latest
|
||||||
|
@@ -3,6 +3,9 @@ services:
|
|||||||
container_name: gitea
|
container_name: gitea
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgresql
|
- postgresql
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.134
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
image: docker.io/gitea/gitea:latest
|
image: docker.io/gitea/gitea:latest
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
portainer:
|
portainer:
|
||||||
container_name: portainer-agent
|
container_name: portainer-agent
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.134
|
||||||
image: portainer/agent:latest
|
image: portainer/agent:latest
|
||||||
ports:
|
ports:
|
||||||
- 9001:9001
|
- 9001:9001
|
||||||
|
@@ -1,24 +1,27 @@
|
|||||||
services:
|
services:
|
||||||
tailscaled:
|
tailscaled:
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- NET_RAW
|
- NET_RAW
|
||||||
container_name: tailscaled
|
container_name: tailscaled
|
||||||
env_file:
|
dns:
|
||||||
- .env
|
- 127.0.0.1
|
||||||
hostname: ps09rp
|
- 192.168.1.134
|
||||||
image: tailscale/tailscale:stable
|
env_file:
|
||||||
network_mode: host
|
- .env
|
||||||
privileged: true
|
hostname: ps09rp
|
||||||
restart: always
|
image: tailscale/tailscale:stable
|
||||||
volumes:
|
network_mode: host
|
||||||
- tailscale:/var/lib/tailscale
|
privileged: true
|
||||||
- /dev/net/tun:/dev/net/tun
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- tailscale:/var/lib/tailscale
|
||||||
|
- /dev/net/tun:/dev/net/tun
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
tailscale:
|
tailscale:
|
||||||
driver: local
|
driver: local
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: none
|
type: none
|
||||||
o: bind
|
o: bind
|
||||||
device: /opt/containers/tailscale
|
device: /opt/containers/tailscale
|
||||||
|
@@ -1,6 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
technitium:
|
technitium:
|
||||||
container_name: technitium
|
container_name: technitium
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.134
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
image: technitium/dns-server:latest
|
image: technitium/dns-server:latest
|
@@ -2,6 +2,9 @@ services:
|
|||||||
traefik:
|
traefik:
|
||||||
command: traefik
|
command: traefik
|
||||||
container_name: traefik
|
container_name: traefik
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.134
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
image: docker.io/traefik:v3.0
|
image: docker.io/traefik:v3.0
|
@@ -1,6 +1,9 @@
|
|||||||
services:
|
services:
|
||||||
watchtower:
|
watchtower:
|
||||||
container_name: watchtower
|
container_name: watchtower
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 192.168.1.134
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
image: containrrr/watchtower:latest
|
image: containrrr/watchtower:latest
|
||||||
|
Reference in New Issue
Block a user