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