2021-02-20 23:39:03 +01:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
|
|
|
piston_api:
|
|
|
|
build: api
|
2021-02-21 10:53:42 +01:00
|
|
|
privileged: true
|
2021-02-20 23:39:03 +01:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 6969:6969
|
|
|
|
volumes:
|
|
|
|
- ./data/piston:/piston
|
|
|
|
- ./repo:/repo
|
|
|
|
tmpfs:
|
|
|
|
- /piston/cache
|
|
|
|
- /piston/jobs
|
|
|
|
|
|
|
|
piston_fs_repo: #Temporary solution until CI works
|
|
|
|
build: repo
|
2021-02-28 06:29:20 +01:00
|
|
|
command: ['python'] # Only build python
|
2021-02-20 23:39:03 +01:00
|
|
|
volumes:
|
|
|
|
- ./repo:/repo
|
|
|
|
- ./packages:/packages
|