Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
beuluis committed Sep 4, 2020
0 parents commit 1523717
Show file tree
Hide file tree
Showing 6 changed files with 184 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
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
40 changes: 40 additions & 0 deletions .gitignore
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
84 changes: 84 additions & 0 deletions README.md
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
10 changes: 10 additions & 0 deletions docker-compose.override.yml
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
20 changes: 20 additions & 0 deletions docker-compose.production.yml
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
16 changes: 16 additions & 0 deletions docker-compose.yml
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: {}

0 comments on commit 1523717

Please sign in to comment.