基本页面配置
This commit is contained in:
parent
465237a3cd
commit
d209c360db
|
@ -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]
|
Loading…
Reference in New Issue