First real file. Docker-compose YML

This commit is contained in:
2023-03-10 11:21:55 +01:00
parent 96a4436185
commit 06645a8d63
4 changed files with 45 additions and 3 deletions

19
portainer.yml Normal file
View File

@@ -0,0 +1,19 @@
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