mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 21:16:29 +02:00
* Initial: use Isolate for isolation * Continue: use Isolate for isolation * Bug fixes * timeout is wall-time for backward compatibility * Documentation, signal names, reported time in ms * Report memory usage in bytes * Add privileged flags where needed * Remove tmpfs * Remove tmpfs * Fix package installation * Fix path, fix Zig: CRLF -> LF
21 lines
513 B
YAML
21 lines
513 B
YAML
version: '3.2'
|
|
|
|
services:
|
|
api:
|
|
build: api
|
|
container_name: piston_api
|
|
privileged: true
|
|
restart: always
|
|
ports:
|
|
- 2000:2000
|
|
volumes:
|
|
- ./data/piston/packages:/piston/packages
|
|
environment:
|
|
- PISTON_REPO_URL=http://repo:8000/index
|
|
|
|
repo: # Local testing of packages
|
|
build: repo
|
|
container_name: piston_repo
|
|
command: ['--no-build'] # Don't build anything
|
|
volumes:
|
|
- .:/piston
|