Initial commit
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m5s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m5s
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
bta-server:
|
||||
image: 192.168.65.110:5000/bta-server
|
||||
container_name: bta-server
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "25565:25565"
|
||||
entrypoint: ["/server/entrypoint.sh"]
|
||||
environment:
|
||||
- JAVA_MAX_MEM=2G
|
||||
- JAVA_MIN_MEM=1G
|
||||
volumes:
|
||||
- bta-server-world:/server/world
|
||||
networks:
|
||||
- bta-network
|
||||
|
||||
volumes:
|
||||
bta-server-world:
|
||||
|
||||
networks:
|
||||
bta-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user