piston/docker-compose.yaml

15 lines
327 B
YAML

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