You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/labs/example/docker-compose.yml

31 lines
741 B

version: "3.8"
networks:
default:
name: mynetwork
driver: bridge
ipam:
config:
- subnet: 172.172.0.0/24
services:
portainer:
image: portainer/portainer-ce:2.5.0
restart: always
ports:
- 9000:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
#- portainer_data:/data
networks:
default:
ipv4_address: 172.172.0.9
deploy:
replicas: 1
# volumes:
# portainer_data:
# driver: vieux/sshfs:latest
# driver_opts:
# sshcmd: root@192.168.100.144:/root
# port: 2222
# password: root
# allow_other: ""