mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
deploy: docker compose file
This commit is contained in:
parent
7b2305f30c
commit
f957019710
2 changed files with 6 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
data/
|
|
@ -15,6 +15,11 @@ services:
|
||||||
|
|
||||||
piston_fs_repo: #Temporary solution until CI works
|
piston_fs_repo: #Temporary solution until CI works
|
||||||
build: repo
|
build: repo
|
||||||
|
command: >
|
||||||
|
bash -c '/repo/make.sh &&
|
||||||
|
curl http://piston_api:6969/repos -XPOST -d "slug=local&url=file:///repo/index.yaml";
|
||||||
|
echo -e "\nAn error here is fine, it just means its already added it. Perhaps you restarted this container"
|
||||||
|
'
|
||||||
volumes:
|
volumes:
|
||||||
- ./repo:/repo
|
- ./repo:/repo
|
||||||
- ./packages:/packages
|
- ./packages:/packages
|
Loading…
Add table
Add a link
Reference in a new issue