# The video worker on stein2 (#402), a compose project of its own beside the web stack: # # docker compose -f tools/video/compose.yml up -d # # It works on the checkout itself (the folder nginx serves), as www-data like the PHP container, so # the files it writes belong to the same user. It needs no network. name: game-maker-video services: game-maker-video: container_name: game-maker-video image: game-maker-video:latest restart: unless-stopped network_mode: none user: '33:33' working_dir: /srv/game-maker volumes: - ../..:/srv/game-maker command: ['php', 'tools/video-worker.php', '/srv/game-maker/data'] # A 1080p conversion takes all four cores otherwise, and the web stack shares them. cpus: 3