-
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#name: Portainer
|
||||
#name: <your project name>
|
||||
services:
|
||||
portainer-ce:
|
||||
ports:
|
||||
@@ -8,15 +8,8 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./data:/data
|
||||
- ./portainer_data:/data
|
||||
image: portainer/portainer-ce:lts
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
|
||||
|
||||
|
||||
#volumes:
|
||||
# portainer_data:
|
||||
# external: true
|
||||
0
portainer/portainer_data/.emptyFile
Normal file
0
portainer/portainer_data/.emptyFile
Normal file
Reference in New Issue
Block a user