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.
27 lines
666 B
27 lines
666 B
version: "3.8"
|
|
networks:
|
|
default:
|
|
name: mynetwork
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 172.172.0.0/24
|
|
volumes:
|
|
portainer_data:
|
|
driver: local
|
|
driver_opts:
|
|
type: none #nfs
|
|
o: bind #'addr=192.168.1.1,rw'
|
|
device: ${INSTALLFOLDER}/data
|
|
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 |