Deployment mit prod docker-compose
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
47bff20e75
commit
43c5707b9b
|
@ -9,4 +9,4 @@ platform:
|
||||||
steps:
|
steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
commands:
|
commands:
|
||||||
- docker-compose up -d
|
- docker-compose -f docker-compose-prod.yml up -d
|
|
@ -6,13 +6,13 @@ networks:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
jekyll:
|
jekyll:
|
||||||
container_name: 2032er-blog
|
container_name: bmen-jekyll
|
||||||
image: jekyll/jekyll:latest
|
image: jekyll/jekyll:latest
|
||||||
command: jekyll serve --force_polling --verbose
|
command: jekyll serve --force_polling --verbose
|
||||||
networks:
|
networks:
|
||||||
- webproxy
|
- webproxy
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/srv/jekyll
|
- ./:/srv/jekyll
|
||||||
- /opt/appdata/2032er-blog/_site:/srv/jekyll/_site
|
- /opt/appdata/bmen-jekyll/_site:/srv/jekyll/_site
|
||||||
- /opt/appdata/2032er-blog/.jekyll-cache:/srv/jekyll/.jekyll-cache
|
- /opt/appdata/bmen-jekyll/.jekyll-cache:/srv/jekyll/.jekyll-cache
|
||||||
- /opt/appdata/2032er-blog/Gemfile.lock:/srv/jekyll/Gemfile.lock
|
- /opt/appdata/bmen-jekyll/Gemfile.lock:/srv/jekyll/Gemfile.lock
|
Loading…
Reference in New Issue