-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Host a static Jekyll website (WIP) #5
base: master
Are you sure you want to change the base?
Changes from all commits
dbef4f4
ed794c3
053cc85
aeea377
7d65a0c
2b88f90
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
_site | ||
vendor | ||
data-cjdns |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
version: '2' | ||
|
||
services: | ||
nginx-proxy: | ||
image: jwilder/nginx-proxy | ||
ports: | ||
- "80:80" | ||
- "443:443" | ||
volumes: | ||
- "/etc/nginx/vhost.d" | ||
- "/usr/share/nginx/html" | ||
- "/var/run/docker.sock:/tmp/docker.sock:ro" | ||
- "/etc/nginx/certs" | ||
environment: | ||
ENABLE_IPV6: "false" # Enable when ready | ||
|
||
letsencrypt-nginx-proxy-companion: | ||
image: jrcs/letsencrypt-nginx-proxy-companion | ||
volumes: | ||
- "/var/run/docker.sock:/var/run/docker.sock:ro" | ||
volumes_from: | ||
- "nginx-proxy" | ||
environment: | ||
ACME_CA_URI: https://acme-staging.api.letsencrypt.org/directory # testing value | ||
|
||
jekyll: | ||
command: jekyll serve | ||
image: jekyll/jekyll:latest | ||
depends_on: | ||
- nginx-proxy | ||
- letsencrypt-nginx-proxy-companion | ||
volumes: | ||
- $PWD:/srv/jekyll | ||
- $PWD/vendor/bundle:/usr/local/bundle | ||
ports: | ||
- "4000:4000" | ||
- "35729:35729" | ||
- "3000:3000" | ||
environment: | ||
VIRTUAL_HOST: "tomesh.dev,www.tomesh.dev" | ||
VIRTUAL_PORT: 4000 | ||
LETSENCRYPT_HOST: "tomesh.dev,www.tomesh.dev" | ||
LETSENCRYPT_EMAIL: "[email protected]" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What email shall we use for this? Shall we make one for tools? https://github.com/tomeshnet/documents/blob/master/service_setup/email.md#public-accounts There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes |
||
|
||
cjdns: | ||
image: chpio/cjdns:latest | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should probably run a particular tag than let it version float. |
||
cap_add: | ||
- NET_ADMIN | ||
volumes: | ||
- ./data-cjdns:/data/cjdns | ||
devices: | ||
- /dev/net/tun | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we need to put
github.com/tomeshnet/tomesh.net
as source and add the webhook?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something like that!