Archive:Munich Makes: Difference between revisions
Jump to navigation
Jump to search
(setup instructions) |
(→Setup: added http redirect container) |
||
Line 57: | Line 57: | ||
-e "LETSENCRYPT_EMAIL=munichmakes@tiefpunkt.com" \ | -e "LETSENCRYPT_EMAIL=munichmakes@tiefpunkt.com" \ | ||
moonmoon | moonmoon | ||
# HTTP redirects | |||
docker run -d \ | |||
--name munichmakes_www_redirect \ | |||
-e "REDIRECT=https://calendar.munichmakes.de" \ | |||
-e "VIRTUAL_HOST=munichmakes.de,www.munichmakes.de" \ | |||
ianneub/redirect | |||
</pre> | </pre> | ||
[[Category:Project]] | [[Category:Project]] |
Revision as of 23:55, 8 November 2016
Consolidated information about the Munich Maker "scene" (ugh, I hate that word).
Parts
- Calendar
- Something like http://munichmakes.tiefpunkt.com/
- Forum
- Blog
- Consolidation of all other blogs
- http://www.intertwingly.net/code/venus/ -> doesn' work with python2.7
- Moonmoon -> http://moonmoon.org/
- Docker container: https://github.com/tiefpunkt/moonmoon-docker
- ???
Setup
# Create directories for reverse proxy mkdir -p /data/rev-proxy/certs # Start reverse proxy docker run -d -p 80:80 -p 443:443 \ --name nginx-proxy \ -v /data/rev-proxy/certs:/etc/nginx/certs:ro \ -v /etc/nginx/vhost.d \ -v /usr/share/nginx/html \ -v /var/run/docker.sock:/tmp/docker.sock:ro \ jwilder/nginx-proxy # Start letsencrypt tool docker run -d \ --name nginx-letsencrypt \ -v /data/rev-proxy/certs:/etc/nginx/certs:rw \ --volumes-from nginx-proxy \ -v /var/run/docker.sock:/var/run/docker.sock:ro \ jrcs/letsencrypt-nginx-proxy-companion # Build calendar image git clone https://github.com/tiefpunkt/community_calendar.git cd community_calendar docker build -t munichmakes/calendar . # Start calendar docker run -d \ --name=munichmakes_calendar \ -v /data/munichmakes/calendar:/data \ -e "VIRTUAL_HOST=calendar.munichmakes.de,munichmakes.tiefpunkt.com" \ -e "LETSENCRYPT_HOST=calendar.munichmakes.de,munichmakes.tiefpunkt.com" \ -e "LETSENCRYPT_EMAIL=munichmakes@tiefpunkt.com" \ munichmakes/calendar # Start planet (build instructions: https://github.com/munichmakes/moonmoon-docker) docker run -d \ --name munichmakes_planet \ -v /data/munichmakes/planet:/data \ -e "VIRTUAL_HOST=planet.munichmakes.de" \ -e "LETSENCRYPT_HOST=planet.munichmakes.de" \ -e "LETSENCRYPT_EMAIL=munichmakes@tiefpunkt.com" \ moonmoon # HTTP redirects docker run -d \ --name munichmakes_www_redirect \ -e "REDIRECT=https://calendar.munichmakes.de" \ -e "VIRTUAL_HOST=munichmakes.de,www.munichmakes.de" \ ianneub/redirect