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. |