13 lines
378 B
Text
13 lines
378 B
Text
version: "3.3"
|
|
services:
|
|
portainer:
|
|
ports:
|
|
- ${ip}:${agent_port}:8000
|
|
- ${ip}:${web_port}:9443
|
|
container_name: portainer-${edition}-${ip}-w${web_port}-a${agent_port}
|
|
restart: always
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:${docker_mode}
|
|
- ${data_dir}:/data
|
|
image: portainer/portainer-${edition}:alpine-sts
|
|
networks: {}
|