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 # on container startup this is parsed into # AgeOfTime's client/prefs.cs file to match # good resolution options: # - 640x480x24 # - 1024x768x24 RESOLUTION: 640x480x24 # 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: '0.50' # memory: 512M # reservations: # cpus: '0.25' # memory: 512M