piston/docker-compose.dev.yaml

23 lines
484 B
YAML
Raw Normal View History

2021-04-23 01:43:21 +02:00
version: '3.2'
2021-03-29 10:41:47 +02:00
services:
2021-04-23 01:43:21 +02:00
api:
2021-03-29 10:41:47 +02:00
build: api
2021-04-23 01:43:21 +02:00
container_name: piston_api
cap_add:
2021-03-29 10:41:47 +02:00
- CAP_SYS_ADMIN
restart: always
ports:
- 2000:2000
volumes:
- ./data/piston:/piston
tmpfs:
- /piston/jobs:exec
2021-04-23 01:43:21 +02:00
repo: # Local testing of packages
2021-03-29 10:41:47 +02:00
build: repo
2021-04-23 01:43:21 +02:00
container_name: piston_repo
2021-03-29 10:41:47 +02:00
command: ['dart-2.12.1'] # Only build dart
volumes:
- .:/piston