Modify portainer for home server

This commit is contained in:
2023-03-10 14:57:24 +01:00
parent 71a031da14
commit d4b4a422d6

View File

@@ -9,11 +9,11 @@ services:
image: portainer/portainer-ce:alpine image: portainer/portainer-ce:alpine
container_name: portainer container_name: portainer
volumes: volumes:
- ~/docker_volumes/portainer/data:/data - /home/alexd/docker_volumes/portainer/data:/data
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
ports: ports:
- "9000:9000" - "9000:9000"
networks: networks:
infra_out: infra_out:
ipv4_address: 192.168.23.10 ipv4_address: 192.168.23.10
restart: unless-stopped restart: always