This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 1523717
Showing
6 changed files
with
184 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.{markdown,md}] | ||
indent_size = 2 | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Created by https://www.toptal.com/developers/gitignore/api/macos,code | ||
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,code | ||
|
||
### Code ### | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
*.code-workspace | ||
|
||
### macOS ### | ||
# General | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
.com.apple.timemachine.donotpresent | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
# End of https://www.toptal.com/developers/gitignore/api/macos,code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
[![Contributors][contributors-shield]][contributors-url] | ||
[![Forks][forks-shield]][forks-url] | ||
[![Stargazers][stars-shield]][stars-url] | ||
[![Issues][issues-shield]][issues-url] | ||
|
||
|
||
<!-- PROJECT LOGO --> | ||
<br /> | ||
<p align="center"> | ||
<img src="https://raw.githubusercontent.com/portainer/portainer/develop/app/assets/images/logo_alt.png" alt="Logo" height="60"> | ||
|
||
<h3 align="center">portainer-ce</h3> | ||
|
||
<p align="center"> | ||
Docker setup for portainer-ce | ||
<br /> | ||
<br /> | ||
· | ||
<a href="https://github.com/beuluis/portainer-ce/issues">Report Bug</a> | ||
· | ||
<a href="https://github.com/beuluis/portainer-ce/issues">Request Feature</a> | ||
</p> | ||
</p> | ||
|
||
<!-- ABOUT THE PROJECT --> | ||
## About The Project | ||
|
||
Small docker setup for portainer-ce. The production environment also uses [jwilder/nginx-proxy](https://github.com/nginx-proxy/nginx-proxy) and [nginx-proxy/docker-letsencrypt-nginx-proxy-companion](https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion). | ||
|
||
<!-- GETTING STARTED --> | ||
## Getting Started Local | ||
|
||
To get a local copy up and running follow these simple steps. | ||
|
||
### Prerequisites | ||
|
||
* [Docker](https://docs.docker.com/get-docker/) | ||
* [Docker Compose](https://docs.docker.com/compose/install/) | ||
|
||
### Installation | ||
|
||
1. Clone the repo | ||
```sh | ||
git clone https://github.com/beuluis/portainer-ce.git | ||
``` | ||
2. Start docker-compose | ||
```sh | ||
docker-compose up --build | ||
``` | ||
3. Navigate to `localhost:9000` | ||
|
||
### Production | ||
|
||
The production environment is still being worked on. Under `docker-compose.production.yml` you can find an example for my setup. Feel free to fork it and change the setup for yourself | ||
|
||
<!-- CONTRIBUTING --> | ||
## 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 | ||
|
||
|
||
<!-- CONTACT --> | ||
## Contact | ||
|
||
Luis Beu - me@luisbeu.de | ||
|
||
|
||
<!-- MARKDOWN LINKS & IMAGES --> | ||
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links --> | ||
[contributors-shield]: https://img.shields.io/github/contributors/beuluis/portainer-ce.svg?style=flat-square | ||
[contributors-url]: https://github.com/beuluis/portainer-ce/graphs/contributors | ||
[forks-shield]: https://img.shields.io/github/forks/beuluis/portainer-ce.svg?style=flat-square | ||
[forks-url]: https://github.com/beuluis/portainer-ce/network/members | ||
[stars-shield]: https://img.shields.io/github/stars/beuluis/portainer-ce.svg?style=flat-square | ||
[stars-url]: https://github.com/beuluis/portainer-ce/stargazers | ||
[issues-shield]: https://img.shields.io/github/issues/beuluis/portainer-ce.svg?style=flat-square | ||
[issues-url]: https://github.com/beuluis/portainer-ce/issues | ||
[license-shield]: https://img.shields.io/github/license/beuluis/portainer-ce.svg?style=flat-square |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: "3.7" | ||
services: | ||
portainer: | ||
container_name: portainerDev | ||
|
||
environment: | ||
FORCE_COLOR: 1 | ||
|
||
ports: | ||
- 9000:9000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: "3.7" | ||
services: | ||
portainer: | ||
container_name: portainerProd | ||
|
||
environment: | ||
VIRTUAL_HOST: portainer.luisbeu.de | ||
VIRTUAL_PORT: 9000 | ||
LETSENCRYPT_HOST: portainer.luisbeu.de | ||
|
||
networks: | ||
- default | ||
- nginxproxynet | ||
|
||
ports: | ||
- 9000 | ||
|
||
networks: | ||
nginxproxynet: | ||
external: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: "3.7" | ||
services: | ||
portainer: | ||
image: portainer/portainer-ce:2.0.0-alpine | ||
|
||
networks: | ||
- default | ||
|
||
restart: always | ||
|
||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
- portainerData:/data | ||
|
||
volumes: | ||
portainerData: {} |