piston/docker-compose.yaml

21 lines
431 B
YAML

version: '3.8'
services:
piston_api:
build: api
privileged: true
restart: always
ports:
- 6969:6969
volumes:
- ./data/piston:/piston
- ./repo:/repo
tmpfs:
- /piston/jobs:exec
piston_fs_repo: #Temporary solution until CI works
build: repo
command: ['typescript-4.2.3'] # Only build typescript
volumes:
- ./repo:/piston/repo
- ./packages:/piston/packages