Skip to content
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

Update letsencrypt templates #247

Open
wants to merge 60 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
e5093d0
Create FUNDING.yml
SelfhostedPro Jun 12, 2020
4403686
Update template.json
tomgue Jun 13, 2020
0fdafa4
Merge pull request #148 from tomgue/patch-1
SelfhostedPro Jun 14, 2020
4539d87
Update issue templates
SelfhostedPro Jun 17, 2020
16a6213
Sort the template list
RobLoach Jun 24, 2020
668185b
bitwarden fix
SelfhostedPro Jun 28, 2020
870ac4c
Merge pull request #156 from RobLoach/patch-3
SelfhostedPro Jun 29, 2020
29134cd
Update invoice-ninja.yml
SelfhostedPro Jul 1, 2020
50ed01f
Update template.json
SelfhostedPro Jul 1, 2020
164af08
fixed unifi
SelfhostedPro Jul 1, 2020
eac97ef
Fix Backup category
sscotth Jul 20, 2020
53705f2
Fix Chowdown
sscotth Jul 20, 2020
4646dbc
Merge pull request #166 from sscotth/patch-3
SelfhostedPro Jul 20, 2020
0063ea1
Merge pull request #165 from sscotth/patch-1
SelfhostedPro Jul 20, 2020
ca1b80f
testing pritunl
SelfhostedPro Jul 30, 2020
a54ffab
testing pritunl
SelfhostedPro Jul 30, 2020
22dc706
testing pritunl
SelfhostedPro Jul 30, 2020
63f3844
testing pritunl
SelfhostedPro Jul 30, 2020
84a0a30
Merge pull request #171 from SelfhostedPro/pritunl
SelfhostedPro Jul 30, 2020
9be19cd
Update template.json
SelfhostedPro Aug 4, 2020
fb9f41a
Update template.json
SelfhostedPro Aug 4, 2020
278f7d1
Update template.json
SelfhostedPro Aug 4, 2020
487a09a
Update README.md
SelfhostedPro Aug 13, 2020
c596110
Update README.md
SelfhostedPro Sep 17, 2020
46affd5
added yacht
SelfhostedPro Sep 28, 2020
1f68618
Merge branch 'master' of github.com:SelfhostedPro/selfhosted_template…
SelfhostedPro Sep 28, 2020
6c0a0b8
Added GoPhish template
siddharths2710 Oct 3, 2020
0bef09b
Merge pull request #184 from siddharths2710/gophish
SelfhostedPro Oct 3, 2020
3b0cb8b
Remove sysctls
jake-walker Oct 3, 2020
06073d2
Add seafile
jake-walker Oct 3, 2020
f3da5c7
Update readme
jake-walker Oct 3, 2020
24d475e
Merge pull request #185 from jake-walker/pritunl-fix
SelfhostedPro Oct 4, 2020
cc6e66b
Merge pull request #186 from jake-walker/seafile
SelfhostedPro Oct 4, 2020
aaff437
Added Dozzle
siddharths2710 Oct 4, 2020
1adef1c
Added ddclient
siddharths2710 Oct 4, 2020
27ddda0
Merge pull request #187 from siddharths2710/dozzle
SelfhostedPro Oct 4, 2020
43f065f
Fixing volume paths in stacks
Oct 5, 2020
4aa72da
Fixing timezone env var
Oct 5, 2020
378b0be
Merge pull request #190 from petikehc/master
SelfhostedPro Oct 6, 2020
1f133f3
Add wallabag
jake-walker Oct 11, 2020
45cd766
Merge pull request #196 from jake-walker/wallabag
SelfhostedPro Oct 12, 2020
294bd78
Merge branch 'master' into ddclient
siddharths2710 Oct 30, 2020
6f2cb4a
pritunl: Fix logo for Pritunl
RobLoach Nov 1, 2020
ffe1af3
Merge pull request #207 from RobLoach/prit-logo
SelfhostedPro Nov 12, 2020
f5a4ce5
Merge pull request #188 from siddharths2710/ddclient
SelfhostedPro Nov 12, 2020
fa24c87
jellyfin: Fix config directory Jellyfin spelling
RobLoach Nov 28, 2020
e9b1ef9
Merge pull request #210 from RobLoach/patch-4
SelfhostedPro Jan 16, 2021
089a05f
add all templates to 1 branch separated by filenames
SelfhostedPro Mar 7, 2021
9bdfff6
deluge: Use UMASK instead of UMASK_SET
RobLoach Mar 7, 2021
524d0d1
Merge pull request #229 from RobLoach/deluge-umask
SelfhostedPro Mar 7, 2021
12c456e
Update README.md
SelfhostedPro Apr 21, 2021
71433c3
Fix 'Backup:' to 'Backup'
RobLoach Jul 17, 2021
3d68135
Fix Shiori icon URL
RobLoach Jul 17, 2021
87be92f
Merge pull request #240 from RobLoach/backup
SelfhostedPro Sep 15, 2021
6ad27bb
Merge pull request #241 from RobLoach/shiori-icon
SelfhostedPro Sep 15, 2021
0a9b95e
Updating letsencrypt container image and fixing typo on email and url…
Keltere Oct 10, 2021
7301fd2
Adding ports to Deluge template
Keltere Oct 10, 2021
dccf22d
Adding ports to Deluge template
Keltere Oct 10, 2021
01b5ea7
Merge branch 'master' of https://github.com/Keltere/selfhosted_templates
Keltere Oct 10, 2021
99a664a
Fixing previous deluge port commit
Keltere Oct 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# These are supported funding model platforms

github: #SelfhostedPro
patreon: # Replace with a single Patreon username
liberapay: SelfhostedPro
issuehunt: selfhostedpro

66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/application-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,69 @@ assignees: ''

### Separate Database? ###
*does this require a separate database in order to function?*

### Fill this out as best as you can. Documentation about these can be found here: https://www.portainer.io/documentation/how-to-use-templates/

```json
{
"type": 1,
"title": "Airsonic",
"name": "airsonic",
"description": "Airsonic is a free, web-based media streamer, providing ubiqutious access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room.",
"logo": "https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Images/airsonic-logo.png",
"image": "linuxserver/airsonic:latest",
"categories": [
"Music"
],
"platform": "linux",
"restart_policy": "unless-stopped",
"ports": [
"4040:4040/tcp"
],
"volumes": [
{
"container": "/music",
"bind": "/portainer/Music"

},
{
"container": "/playlists",
"bind": "/portainer/Files/AppData/Airsonic/Playlists"
},
{
"container": "/podcasts",
"bind": "/portainer/Podcasts"
},
{
"container": "/media",
"bind": "/portainer/Files/AppData/Airsonic/Media"
},
{
"container": "/config",
"bind": "/portainer/Files/AppData/Config/Airsonic/"
}
],
"env": [
{
"name": "PUID",
"label": "PUID",
"default": "1000"
},
{
"name": "PGID",
"label": "PGID",
"default": "100"
},
{
"name": "CONTEXT_PATH",
"label": "CONTEXT_PATH",
"set": "airsonic"
},
{
"name": "JAVA_OPTS",
"label": "JAVA_OPTS",
"set": "-Xms256m -Xmx512m"
}
]
},
```
Binary file modified Images/authelia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/ddclient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/dozzle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/gophish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/pritunl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/seafile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/wallabag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 23 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,38 @@
### Notice:

**You can use this visual builder to create templates and submit PRs to this repo if they work: [Shipwright](https://shipwright.yacht.sh) it's currently pretty early in development but should be able to take portainer templates (that don't have type 2 or 3 templates) and import them for editing.**

Currently most of my dev time is being spent on [Yacht](https://github.com/SelfhostedPro/Yacht/tree/vue) if you would like something added please consider making a pull request with your addition and I'll work on getting it added when I'm able to. Information about how to structure a block (for an app) is available [here](https://portainer.readthedocs.io/en/stable/templates.html) and there is a gui builder [here](https://shipwright.yacht.sh)

# Portainer Templates for Selfhosted Projects/Homelabs

This is a template focused on helping people spin up selfhosted services using Portainer.
This is a template focused on helping people spin up selfhosted services using Portainer and Yacht.
## Versions

The following table shows the corresponding url to use for the application you're using.

| Application | URL |
| ------------- | ------------- |
| Yacht | https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/yacht.json |
| Yacht (arm) | https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/yacht-arm.yml |
| Portainer v1 (no OMV) | https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/portainer-v1.json |
| Portainer v2 (no OMV) | https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/portainer-v2.json |
| Portainer v1 OMV | https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/omv-v1.json |
| Portainer v2 OMV | https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/omv-v2.json|

*for the OMV5 version use the OMV5 branch*

### Prerequisites

1. A server/NAS with docker installed
2. A Portainer setup.
2. A Portainer/Yacht setup.

*Want something we don't have? Make an issue and we'll work on adding it*

### Installing

1. Login to your portainer setup go to settings
2. Enable Use external templates
3. Add the url: `https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/template.json` then go to app templates and hit refresh at the top.
1. Login to the Web-UI for the corresponding project.
2. Navigate to the area where you add a template (in portainer you'll need to enable external templates)
3. Add the template URL corresponding to the application you're using in the table above.

### Information
All templates are already configured to bind mount to various places on your drive. This branch works without the need for OMV. The following folders are all created in /portainer/
Expand Down Expand Up @@ -108,6 +124,7 @@ All templates are already configured to bind mount to various places on your dri
- resilio-sync
- rutorrent
- sabnzbd
- Seafile
- sickchill
- smokeping
- sonarr
Expand Down
3 changes: 1 addition & 2 deletions Template/Stack/invoice-ninja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ services:
environment:
- APP_URL=${URL}
- APP_KEY=${APP_KEY}
- MULTI_DB_ENABLED=false
- DB_TYPE=mysql
- DB_HOST1=ninja_db
- DB_HOST=ninja_db
- DB_DATABASE=ninja_db
- DB_USERNAME=invoice_ninja
- DB_PASSWORD=${DATABASE_PASSWORD}
Expand Down
4 changes: 2 additions & 2 deletions Template/Stack/nextcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ services:
- PUID=${PUID}
- PGID=${PGID}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- TZ=${Timezone}
- TZ=${TZ}
- MYSQL_DATABASE=nextcloud_db
- MYSQL_USER=nextcloud
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
volumes:
- /portainer/AppData/Config/Nextcloud/DB:/config
- /portainer/Files/AppData/Config/Nextcloud/DB:/config
restart: unless-stopped
36 changes: 36 additions & 0 deletions Template/Stack/pritunl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
version: '2'

services:
mongo:
image: mongo:latest
container_name: pritunldb
hostname: pritunldb
network_mode: bridge
volumes:
- /portainer/Files/AppData/Pritunl/db:/data/db

pritunl:
image: goofball222/pritunl:latest
container_name: pritunl
hostname: pritunl
depends_on:
- mongo
network_mode: bridge
privileged: true
links:
- mongo
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- 80:80
- 443:443
- 1194:1194
- 1194:1194/udp
- 1195:1195/udp
environment:
- TZ=UTC
- REVERSE_PROXY=${REVERSE_PROXY}
- PRITUNL_OPTS=${PRITUNL_OPTS}
- MONGODB_URI=${MONGODB_URI}
- WIREGUARD=${WIREGUARD}
45 changes: 45 additions & 0 deletions Template/Stack/seafile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
version: "2"
services:
db:
image: mariadb:10.1
container_name: seafile-mysql
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_LOG_CONSOLE=true
volumes:
- /portainer/Files/AppData/Seafile/db:/var/lib/mysql
networks:
- seafile-net

memcached:
image: memcached:1.5.6
container_name: seafile-memcached
entrypoint: memcached -m 256
networks:
- seafile-net

seafile:
image: seafileltd/seafile-mc:latest
container_name: seafile
ports:
- "80:80"
- "443:443"
volumes:
- /portainer/Files/AppData/Seafile/data:/shared
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=${MYSQL_ROOT_PASSWORD}
- TIME_ZONE=${TIME_ZONE}
- SEAFILE_ADMIN_EMAIL=${ADMIN_EMAIL}
- SEAFILE_ADMIN_PASSWORD=${ADMIN_PASSWORD}
- SEAFILE_SERVER_LETSENCRYPT=${ENABLE_HTTPS}
- SEAFILE_SERVER_HOSTNAME=${SERVER_HOSTNAME}
depends_on:
- db
- memcached
networks:
- seafile-net

networks:
seafile-net:
Loading