christianlempa-boilerplates/docker-compose/portainer
2022-01-10 09:30:01 +01:00
..
docker-compose.yml some general updates 2021-12-30 11:46:21 +01:00
README.md readme file updates 2022-01-10 09:30:01 +01:00

Installation

Deployment

  1. Copy the docker-compose.yml template into your project folder and start the container.

Manage local environment

Allows Portainer to manage the local Docker Environment

    volumes:
      - /var/run/docker.sock:/var/run/docker.sock

Data Persistence

Storing Data in a portainer-data volume on docker

    volumes:
      - portainer-data:/data

Configuration

Best-Practices & Post-Installation

Disable HTTP

It's not secure to expose Portainer via the HTTP protocol. Follow these steps to enable HTTPS only.

(Option 1): Upload custom certificates

  • Upload your custom certificates
  • Force HTTPS only
  • Expose Port 9443 Force HTTPS Only and Certificates

(Option 2): Use a Reverse Proxy

  • Use a Reverse Proxy to securely expose administrative services.

Additional Referfences

Official Portainer Documentation