deploy: docker compose file
This commit is contained in:
parent
7b2305f30c
commit
f957019710
|
@ -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…
Reference in New Issue