piston/docker-compose.yaml

14 lines
269 B
YAML

version: '2.7'
services:
piston_api:
build: api
cap_add:
- CAP_SYS_ADMIN
restart: always
ports:
- 2000:2000
volumes:
- ./data/piston:/piston
tmpfs:
- /piston/jobs:exec