Move init stuff to init/
Makefile: expose olegdb for testing
This commit is contained in:
parent
81817d2731
commit
fa3142ca31
|
@ -1,5 +1,5 @@
|
||||||
FROM xena/lapis:1.7.7.2
|
FROM xena/lapis:1.7.7.2
|
||||||
|
|
||||||
ADD oleg /seed/oleg
|
ADD init/oleg /seed/oleg
|
||||||
RUN mv /seed/oleg/olegdb.conf /oleg/db.conf
|
RUN mv /seed/oleg/olegdb.conf /oleg/db.conf
|
||||||
ADD oleg/runit/ /etc/service
|
ADD init/oleg/runit/ /etc/service
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -9,7 +9,7 @@ build:
|
||||||
test: build
|
test: build
|
||||||
@echo "http://127.0.0.1:5000"
|
@echo "http://127.0.0.1:5000"
|
||||||
@echo "press ^C to kill the test server"
|
@echo "press ^C to kill the test server"
|
||||||
docker run -p 5000:5000 --name site-$(GIT_REV) --rm -it -e GIT_REV=$(GIT_REV) -e GITHUB_TOKEN=$(GITHUB_TOKEN) xena/site /bin/bash
|
docker run -p 5001:38080 -p 5000:5000 --name site-$(GIT_REV) --rm -it -e GIT_REV=$(GIT_REV) -e GITHUB_TOKEN=$(GITHUB_TOKEN) xena/site /bin/bash
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
git push
|
git push
|
||||||
|
|
Loading…
Reference in New Issue