New addition: Portainer
This commit is contained in:
1 parent
639780c6c8
commit
d8eb7fed18
3 files changed
+66
No files matched your search
@@ -0,0 +1,7 @@
|
|||||||
|
# Uncomment and change the following variables if you want to use them.
|
||||||
|
#RESTART=unless-stopped
|
||||||
|
#SYNOLOGY_VOLUME=volume1
|
||||||
|
#STACK_NAME=portainer
|
||||||
|
#PORTAINER_CONTAINER_NAME=Portainer
|
||||||
|
#PORTAINER_TAG=latest
|
||||||
|
#PORTAINER_PORT=9000
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
services:
|
||||||
|
# Portainer
|
||||||
|
portainer:
|
||||||
|
container_name: ${PORTAINER_CONTAINER_NAME:-Portainer}
|
||||||
|
image: portainer/portainer-ce:${PORTAINER_TAG:-latest}
|
||||||
|
restart: ${RESTART:-unless-stopped}
|
||||||
|
ports:
|
||||||
|
- ${PORTAINER_PORT:-9000}:9000
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /${SYNOLOGY_VOLUME:-volume1}/docker/${STACK_NAME:-portainer}/${PORTAINER_CONTAINER_NAME:-Portainer}/data:/data
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
# Portainer
|
||||||
|
|
||||||
|
Portainer is your container management platform to deploy, troubleshoot, and secure applications across cloud, datacenter, and Industrial IoT use cases.
|
||||||
|
|
||||||
|
## Installation using Synology Container Manager
|
||||||
|
|
||||||
|
### Tested with
|
||||||
|
|
||||||
|
* Synology DS1019+ running DSM DSM 7.2-64570 Update 1;
|
||||||
|
* Container Manager from Synology Package Center version 20.10.23-1413;
|
||||||
|
* Portainer 2.19.0.
|
||||||
|
|
||||||
|
### Installation steps
|
||||||
|
|
||||||
|
* Within your docker folder (/volume1/docker) create a folder named: portainer
|
||||||
|
* Move the following files to that newly created folder
|
||||||
|
* compose.yml
|
||||||
|
* .env.sample
|
||||||
|
* Rename .env.sample to .env
|
||||||
|
* Change the environment variables in the file .env as you see fit (Don't forget to remove the # in front of the row you want to use)
|
||||||
|
* Create the folowing folder under /volume1/docker/portainer
|
||||||
|
* Portainer/data
|
||||||
|
* Open Container Manager via Synology DiskStation Manager (DSM)
|
||||||
|
* Go to Project (in the left pane)
|
||||||
|
* Click Create
|
||||||
|
* Name your project portainer
|
||||||
|
* Select the path you created in step 1
|
||||||
|
* Choose to use the existing docker-compose.yml file
|
||||||
|
* Click Next
|
||||||
|
* Click Next on the Web portal settings page
|
||||||
|
* Click Done and wait for Container Manager to finish (Exit Code: 0)
|
||||||
|
|
||||||
|
## Environment variables
|
||||||
|
|
||||||
|
The following variables could be set an environment varaiables using the .env file.
|
||||||
|
|
||||||
|
| Value | Default | Information |
|
||||||
|
|---|---|---|
|
||||||
|
| RESTART | unless-stopped | Choose a restart policy. |
|
||||||
|
| SYNOLOGY_VOLUME | volume1 | Volume you docker folder is on. |
|
||||||
|
| STACK_NAME | domotica | The name of your project/stack and also the base folder within your docker folder. |
|
||||||
|
| PORTAINER_CONTAINER_NAME | Portainer | This is used for the name of the container |
|
||||||
|
| PORTAINER_TAG | latest | Choose a version tag. |
|
||||||
|
| PORTAINER_PORT | 9000 | Default port. |
|
||||||
|
|
||||||
|
## Links
|
||||||
|
* [Docker Hub](https://hub.docker.com/r/portainer/portainer-ce)
|
||||||
|
* [GitHub](https://github.com/portainer/portainer)
|
||||||
Reference in new issue
Block a user