piston/docker-compose.dev.yaml

25 lines
558 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
environment:
- PISTON_REPO_URL=http://repo:8000/index
2021-03-29 10:41:47 +02:00
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