version: '2' services: portainer: image: portainer/portainer restart: always container_name: portainer hostname: portainer command: ["--admin-password","$$2y$$05$$hpXF1tSTwHrLIxNJicuVFOcXBUYA2umFET4.H45OHIikVI8zpuZna","--logo","https://www.hatthieves.es/wp-content/uploads/2019/08/cropped-ht.png"] volumes: - /var/run/docker.sock:/var/run/docker.sock ports: - "8000:8000/tcp" - "9000:9000/tcp" networks: mynet: ipv4_address: 172.139.0.101 networks: mynet: driver: bridge ipam: config: - subnet: 172.139.0.0/24