From 18af04ff6d44909b3622c7ff6534dd9e6059c77e Mon Sep 17 00:00:00 2001 From: valki Date: Sat, 17 Oct 2020 17:11:33 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9EmcREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mcREADME.md | 122 +++++++++++++--------------------------------------- 1 file changed, 30 insertions(+), 92 deletions(-) diff --git a/mcREADME.md b/mcREADME.md index 17c5da7..ccab6b8 100644 --- a/mcREADME.md +++ b/mcREADME.md @@ -2,24 +2,13 @@

- - Logo -

dockerized openAger

Ein Docker-Stack zur Installation von openAger
- Explore the docs » -
-
- View Demo - · - Report Bug - · - Request Feature -

+

@@ -44,45 +33,52 @@ ## About The Project -[![Product Name Screen Shot][product-screenshot]](https://example.com) - -Here's a blank template to get started: -**To avoid retyping too much info. Do a search and replace with your text editor for the following:** -`github_username`, `repo_name`, `twitter_handle`, `email` - - -### Built With - -* []() -* []() -* []() - +Dieses Projekt beinhaltet einen Docker-Stack zur schnellen Installation der Cloud Komponenten von openAger. +openAger findet sich hier: https://www.valki.com/smartager/ ## Getting Started -To get a local copy up and running follow these simple steps. +Repo klonen und Installationsanleitung befolgen! ### Prerequisites -This is an example of how to list things you need to use the software and how to install them. -* npm +Damit das ganze Funktioniert, muss natürlich Docker installiert sein. + +Des weiteren wird für Fälle wo NICHT alles lokal im Netzwerk bleibt optional empfohlen: +* Portainer (zur bequemen Bedienung von Docker): https://hub.docker.com/r/portainer/portainer +* nginx Reverse-Proxy von jwilder https://hub.docker.com/r/jwilder/nginx-proxy +* letsencrypt - Companion für nginx von jrcs: https://hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion + +Wieso der Reverse Proxy und Letsencrypt eine feine Sache sind: http://jasonwilder.com/blog/2014/03/25/automated-nginx-reverse-proxy-for-docker/ + +Exemplarisch: ```sh -npm install npm@latest -g +docker run -d -p 9000:9000 -p 8000:8000 --name portainer --restart always -e VIRTUAL_HOST="subdomain.domain.com" -e LETSENCRYPT_EMAIL="email@email.com" -e LETSENCRYPT_HOST="subdomain.domain.com" -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest + +docker run -d --name nginx-proxy --restart always --publish 80:80 --publish 443:443 -v nginx_etc:/etc/nginx: -v nginx_html:/usr/share/nginx/html: -v nginx_cert:/etc/nginx/certs: -v nginx_dhparms:/etc/nginx/dhparam: -v nginx_vhost:/etc/nginx/vhost.d: -v /var/run/docker.sock:/tmp/docker.sock:ro -v /mnt/HC_Volume_3913980/docker/volumes/nginx_template/nginx.tmpl:/app/nginx.tmpl jwilder/nginx-proxy + +docker run -d --name nginx-proxy-letsencrypt --restart always --volumes-from nginx-proxy -v /var/run/docker.sock:/var/run/docker.sock:ro jrcs/letsencrypt-nginx-proxy-companion + ``` ### Installation -1. Clone the repo +1. nach /opt gehen und Repo klonen ```sh -git clone https://github.com/github_username/repo_name.git +cd /opt +git clone https://git.valki.com/valki/dockerized_openAger.git ``` -2. Install NPM packages +2. Umbenennen ```sh -npm install +mv dockerized_openAger openAger +cd openAger +``` +3. .env bei Bedarf bearbeiten und dann installieren +```sh +docker-compose up ``` - @@ -94,65 +90,7 @@ _For more examples, please refer to the [Documentation](https://example.com)_ - -## Roadmap - -See the [open issues](https://github.com/github_username/repo_name/issues) for a list of proposed features (and known issues). - - - - -## Contributing - -Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. - -1. Fork the Project -2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`) -3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`) -4. Push to the Branch (`git push origin feature/AmazingFeature`) -5. Open a Pull Request - - - ## License Distributed under the MIT License. See `LICENSE` for more information. - - - - -## Contact - -Your Name - [@twitter_handle](https://twitter.com/twitter_handle) - email - -Project Link: [https://github.com/github_username/repo_name](https://github.com/github_username/repo_name) - - - - -## Acknowledgements - -* []() -* []() -* []() - - - - - - - -[contributors-shield]: https://img.shields.io/github/contributors/github_username/repo.svg?style=flat-square -[contributors-url]: https://github.com/github_username/repo/graphs/contributors -[forks-shield]: https://img.shields.io/github/forks/github_username/repo.svg?style=flat-square -[forks-url]: https://github.com/github_username/repo/network/members -[stars-shield]: https://img.shields.io/github/stars/github_username/repo.svg?style=flat-square -[stars-url]: https://github.com/github_username/repo/stargazers -[issues-shield]: https://img.shields.io/github/issues/github_username/repo.svg?style=flat-square -[issues-url]: https://github.com/github_username/repo/issues -[license-shield]: https://img.shields.io/github/license/github_username/repo.svg?style=flat-square -[license-url]: https://github.com/github_username/repo/blob/master/LICENSE.txt -[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555 -[linkedin-url]: https://linkedin.com/in/github_username -[product-screenshot]: images/screenshot.png \ No newline at end of file