aot-wine-x11-novnc-docker/docker-compose.yaml
Skylar Sadlier 3f4911b448 - version v0.0.3
- Updated README
- Added AOT_AUTO_RES and AOT_MINIMIZED env variables (see README.md)
2024-03-27 19:58:44 -06:00

32 lines
961 B
YAML

services:
aotbot:
build: .
ports:
- "8080:8080"
environment:
# limit cpu usage to 50% of a single core
AOT_CPU_LIMIT: 0
# sets the resolution of x11
# good resolution options:
# - 640x480x24
# - 1024x768x24
RESOLUTION: 640x480x24
# game file base/client/prefs.cs gets updated on
# container startup by default if you want to disable this
# set this to false
AOT_AUTO_RES: false
# if set to true we will switch away from the game window
# which causes AgeOfTime to stop a bunch of rendering steps
# saving precious CPU cycles
AOT_MINIMIZED: true
# uncomment if you want to volume mount AgeOfTime
# volumes:
# - '/path/on/host/AgeOfTime:/root/prefix32/drive_c/Program Files (x86)/AgeOfTime'
deploy:
resources:
limits:
cpus: '2'
memory: 1G
reservations:
cpus: '2'
memory: 1G