version: '3.4' services: app: image: 'git.rustybever.be/chewing_bever/mc-paper:1.19.2-173' build: context: paper args: - 'MC_VERSION=1.19.2' - 'PAPERMC_VERSION=173' # These are necessary to make the console work stdin_open: true tty: true deploy: mode: 'replicated' replicas: 1 placement: constraints: - 'node.labels.class.papermc==true' resources: limits: cpus: '4.0' environment: - 'XMS=4' - 'XMX=8' ports: - '25565:25565' volumes: - 'config:/app/config' - 'worlds:/app/worlds' volumes: config: worlds: