Dockerレシピ -Portainer Server-

使い方

接続方法

工事中

データ保存方法

工事中

パスワード変更方法

工事中

パラメータシート

ディレクトリ構造

工事中

docker-compose.yml

services:
  portainer-mgmt:
    build:
      context: ./
      dockerfile: Dockerfile
    image: custom/portainer-ce:latest
    container_name: portainer-mgmt
    hostname: portainer-mgmt
    restart: always
    volumes:
      - type: bind
        source: "/var/run/docker.sock"
        target: "/var/run/docker.sock"
      - type: bind
        source: "./bind/data"
        target: "/data"
    extra_hosts:
      - host.docker.internal:host-gateway
    ports:
      - "9111:9000"
    networks:
      - backend

networks:
  backend:
    external: true

Dockerfile

# syntax=docker/dockerfile:1.7
FROM portainer/portainer-ce:latest