piston/docker-compose.yaml

22 lines
420 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/cache
- /piston/jobs
piston_fs_repo: #Temporary solution until CI works
build: repo
command: ['python'] # Only build python
volumes:
- ./repo:/repo
- ./packages:/packages