piston/docker-compose.yaml

15 lines
343 B
YAML

version: '3.2'
services:
api:
image: ghcr.io/endercheif/piston
container_name: piston_api
restart: always
ports:
- 2000:2000
volumes:
- ./data/piston/packages:/piston/packages
tmpfs:
- /piston/jobs:exec,uid=1000,gid=1000,mode=711
- /tmp:exec