A-H-Pooladvand / portainer-docker

Docker Compose file for deploying Portainer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Portainer Docker Compose

This repository contains a docker-compose.yml file to set up Portainer using Docker Compose.

Prerequisites

  • Docker installed on your machine.
  • Docker Compose installed on your machine.

Setup

  1. Clone this repository or download the docker-compose.yml file.

  2. Navigate to the directory containing the docker-compose.yml file.

  3. Create a .env file in the same directory with the following content:

# .env
PORTAINER_HTTP_PORT=8000
PORTAINER_HTTPS_PORT=9443
  1. Run the following command to start the Portainer service:
docker-compose up -d

License

This project is licensed under the MIT License.

  1. Access Portainer:

Environment Variables

The .env file contains the following environment variables:

  • PORTAINER_HTTP_PORT: The HTTP port to access Portainer (default is 8000).
  • PORTAINER_HTTPS_PORT: The HTTPS port to access Portainer (default is 9443).

About

Docker Compose file for deploying Portainer

License:MIT License


Languages

Language:Makefile 100.0%