mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
add image building and deployment functionality to Makefile
This commit is contained in:
parent
32707c057b
commit
b185efcec4
1 changed files with 9 additions and 0 deletions
9
Makefile
9
Makefile
|
@ -52,3 +52,12 @@ keys:
|
|||
- openssl req -new -nodes -newkey rsa:2048 -keyout config/certificates/localhost.key -out config/certificates/localhost.csr -subj "/C=US/ST=YourState/L=YourCity/O=Example-Certificates/CN=localhost.local"
|
||||
- openssl x509 -req -sha256 -days 1024 -in config/certificates/localhost.csr -CA config/certificates/RootCA.pem -CAkey config/certificates/RootCA.key -CAcreateserial -extfile config/domains.ext -out config/certificates/localhost.crt
|
||||
- cat config/certificates/localhost.crt config/certificates/localhost.key > config/certificates/localhost.pem
|
||||
|
||||
images:
|
||||
- docker image build . --file=docker/newsblur_base_image.Dockerfile --tag=newsblur/newsblur_python3
|
||||
- docker image build . --file=docker/node/node_prod.Dockerfile --tag=newsblur/node_prod
|
||||
- docker push newsblur/newsblur_python3
|
||||
- docker push newsblur/node_prod
|
||||
|
||||
deploy:
|
||||
- docker stack deploy --with-registry-auth -c stack-compose.yml dev-stack
|
Loading…
Add table
Reference in a new issue