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
|
2024-09-08 03:58:40 +02:00
|
|
|
privileged: true
|
2021-10-08 15:16:57 +02:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 2000:2000
|
|
|
|
volumes:
|
2022-06-30 13:31:17 +02:00
|
|
|
- ./data/piston/packages:/piston/packages
|
2021-10-08 15:16:57 +02:00
|
|
|
environment:
|
|
|
|
- PISTON_REPO_URL=http://repo:8000/index
|
2021-03-29 10:41:47 +02:00
|
|
|
|
2021-10-08 15:16:57 +02:00
|
|
|
repo: # Local testing of packages
|
|
|
|
build: repo
|
|
|
|
container_name: piston_repo
|
|
|
|
command: ['--no-build'] # Don't build anything
|
|
|
|
volumes:
|
|
|
|
- .:/piston
|