host network
This commit is contained in:
@@ -10,6 +10,7 @@ services:
|
|||||||
- "8080:80"
|
- "8080:80"
|
||||||
networks:
|
networks:
|
||||||
- mechanicalnet
|
- mechanicalnet
|
||||||
|
network_mode: "host"
|
||||||
mc:
|
mc:
|
||||||
image: ghcr.io/itzg/minecraft-server:java21-graalvm
|
image: ghcr.io/itzg/minecraft-server:java21-graalvm
|
||||||
tty: true
|
tty: true
|
||||||
@@ -41,6 +42,7 @@ services:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
- mechanicalnet
|
- mechanicalnet
|
||||||
|
network_mode: "host"
|
||||||
volumes:
|
volumes:
|
||||||
- ../data/mechanical-neoforge:/data
|
- ../data/mechanical-neoforge:/data
|
||||||
#- ./simple-discord-bot.toml:/data/config/simple-discord-bot.toml
|
#- ./simple-discord-bot.toml:/data/config/simple-discord-bot.toml
|
||||||
|
|||||||
Reference in New Issue
Block a user