基本页面配置

This commit is contained in:
Amadeus 2024-05-02 21:57:10 +08:00
parent 465237a3cd
commit d209c360db
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
version: '3'
services:
nginx:
image: nginx
ports:
- 8888:80
deploy:
mode: replicated
replicas: 3
visualizer:
image: dockersamples/visualizer
ports:
- 8080:8080
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
replicas: 1
placement:
constraints: [node.repo == manager]
portainer:
image: portainer/portainer
ports:
- 9000:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
replicas: 1
placement:
constraints: [node.role == manager]