mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-09 19:46:27 +02:00
Compare commits
2 commits
1edb5ad046
...
7191bc063c
Author | SHA1 | Date | |
---|---|---|---|
|
7191bc063c | ||
|
df34a3f421 |
2 changed files with 2 additions and 5 deletions
|
@ -2,7 +2,7 @@ version: '2.7'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
piston_api:
|
piston_api:
|
||||||
build: api
|
image: ghcr.io/engineer-man/piston
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 2000:2000
|
- 2000:2000
|
||||||
|
|
|
@ -117,10 +117,7 @@ cd cli && npm i && cd -
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
echo "$GITHUB_TOKEN" | docker login https://docker.pkg.github.com -u "$GITHUB_USERNAME" --password-stdin
|
docker run -v $PWD:'/piston' --tmpfs /piston/jobs -dit -p 2000:2000 --name piston_api ghcr.io/engineer-man/piston
|
||||||
# Change out the $GITHUB_TOKEN and $GITHUB_USERNAME with appropritate values
|
|
||||||
|
|
||||||
docker run -v $PWD:'/piston' --tmpfs /piston/jobs -dit -p 2000:2000 --name piston_api docker.pkg.github.com/engineer-man/piston/api:latest
|
|
||||||
```
|
```
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue