add ram env

This commit is contained in:
ducoterra
2020-01-07 08:39:53 -05:00
parent 53e37bae89
commit da7cb2cd0b

View File

@@ -3,7 +3,7 @@ version: '3'
services: services:
mc: mc:
build: . build: .
image: ducoterra/minecraft_1.15.1:0.0.3 image: ducoterra/minecraft_1.15.1:0.0.5
ports: ports:
- 25565:25565 - 25565:25565
volumes: volumes:
@@ -11,3 +11,6 @@ services:
tty: true tty: true
stdin_open: true stdin_open: true
restart: always restart: always
environment:
- MAX_RAM=2
- MIN_RAM=1