mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
22 lines
No EOL
572 B
YAML
22 lines
No EOL
572 B
YAML
version: '3.3'
|
|
services:
|
|
minecraft-server:
|
|
container_name: minecraft-server
|
|
image: itzg/minecraft-server
|
|
ports:
|
|
- 25565:25565
|
|
environment:
|
|
- TYPE=FORGE
|
|
- EULA=TRUE
|
|
volumes:
|
|
- /home/ubuntu/docker/minecraft:/data
|
|
stdin_open: true
|
|
tty: true
|
|
restart: unless-stopped
|
|
networks:
|
|
macvlan4: # change name to whatever you like
|
|
ipv4_address: 192.168.4.20 # change to your IP in your vLAN subnet
|
|
|
|
networks:
|
|
macvlan4:
|
|
external: true |