Add environment variables for port mappings

This commit is contained in:
2026-01-16 18:02:52 +00:00
parent 379bb85a42
commit 0024c5e1d7
2 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ services:
minecraft_server_network:
ipv4_address: "10.100.1.3"
ports:
- 25000:25565
- ${VELOCITY_PORT}:25565
volumes:
- velocity_data:/server:rw
- ./velocity/config:/config:ro
@@ -78,7 +78,7 @@ services:
minecraft_server_network:
ipv4_address: "10.100.1.6"
ports:
- 8100:8100
- ${BLUEMAP_PORT}:8100
volumes:
- bluemap_data:/app/data:rw
- bluemap_web:/app/web:rw
@@ -318,7 +318,7 @@ services:
minecraft_server_network:
ipv4_address: "10.100.1.2"
ports:
- 5434:5432
- ${LUCKPERMS_PORT}:5432
volumes:
- luckperms_data:/var/lib/postgresql/data:rw
- /etc/passwd:/etc/passwd:ro