Make chats use vlan-DMZ net via macvlan

This commit is contained in:
norohind 2024-01-20 22:46:34 +03:00
parent 49e31ff076
commit 1a45317173

View File

@ -11,6 +11,9 @@ services:
- ./ssh-chat/motd:/motd:ro
- ./ssh-chat/admins:/admins:ro
command: "/usr/local/bin/ssh-chat --identity /run/secrets/chatkey --admin=/admins --log=/dev/stdout --motd=/motd"
networks:
vlan-DMZ:
ipv4_address: 10.5.0.10
matterbridge:
build: https://gitea.demb.uk/third-party-mirrors/matterbridge.git#v1.26.0
@ -22,6 +25,8 @@ services:
- MATTERBRIDGE_DISCORD_MYDISCORD_TOKEN # Expected to be found in ./.env
depends_on:
- ssh-chat
networks:
vlan-DMZ:
ts3:
image: docker.io/teamspeak:3.13.7
@ -34,6 +39,9 @@ services:
TS3SERVER_LICENSE: accept
volumes:
- ts3-vol:/var/ts3server
networks:
vlan-DMZ:
ipv4_address: 10.5.0.11
volumes:
ts3-vol:
@ -42,3 +50,8 @@ volumes:
secrets:
chatkey:
file: ./id_ed25516
networks:
vlan-DMZ:
external: true