piston/docker-compose.dev.yaml

26 lines
662 B
YAML
Raw Normal View History

2021-10-08 15:16:57 +02:00
version: '3.2'
2021-03-29 10:41:47 +02:00
services:
2021-10-08 15:16:57 +02:00
api:
build: api
container_name: piston_api
cap_add:
- CAP_SYS_ADMIN
restart: always
ports:
- 2000:2000
volumes:
- ./data/piston/packages:/piston/packages
2021-10-08 15:16:57 +02:00
environment:
2024-03-03 18:25:40 +01:00
- PISTON_REPO_URL=https://github.com/engineer-man/piston/releases/download/pkgs/index
2021-10-08 15:16:57 +02:00
tmpfs:
2022-06-30 13:35:35 +02:00
- /piston/jobs:exec,uid=1000,gid=1000,mode=711
2021-03-29 10:41:47 +02:00
2024-03-03 18:25:40 +01:00
repo:
# Local testing of packages
2021-10-08 15:16:57 +02:00
build: repo
container_name: piston_repo
2024-03-03 18:25:40 +01:00
command: [ '--no-build' ] # Don't build anything
2021-10-08 15:16:57 +02:00
volumes:
- .:/piston