Files
GitTest/portainer.yml

20 lines
377 B
YAML

version: '3'
networks:
infra_out:
external: true
services:
portainer:
image: portainer/portainer-ce
container_name: portainer
volumes:
- ~/docker_volumes/portainer/data:/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "9900:9000"
networks:
infra_out:
ipv4_address: 10.23.0.211
restart: unless-stopped