emanuelegori 已修改 . 還原成這個修訂版本
沒有任何變更
emanuelegori 已修改 . 還原成這個修訂版本
1 file changed, 3 insertions, 11 deletions
docker-compose.yml
@@ -2,17 +2,9 @@ services: | |||
2 | 2 | portainer: | |
3 | 3 | image: portainer/portainer-ce:latest | |
4 | 4 | container_name: portainer | |
5 | - | restart: always | |
6 | - | privileged: true | |
7 | 5 | volumes: | |
8 | 6 | - ./data:/data | |
9 | 7 | - /var/run/docker.sock:/var/run/docker.sock | |
10 | - | # ports: | |
11 | - | # - 9443:9443 | |
12 | - | networks: | |
13 | - | - npm-internal | |
14 | - | ||
15 | - | networks: | |
16 | - | npm-internal: | |
17 | - | name: npm-internal | |
18 | - | external: true | |
8 | + | ports: | |
9 | + | - 9443:9443 | |
10 | + | restart: always |
emanuelegori 已修改 . 還原成這個修訂版本
1 file changed, 18 insertions
docker-compose.yml(檔案已創建)
@@ -0,0 +1,18 @@ | |||
1 | + | services: | |
2 | + | portainer: | |
3 | + | image: portainer/portainer-ce:latest | |
4 | + | container_name: portainer | |
5 | + | restart: always | |
6 | + | privileged: true | |
7 | + | volumes: | |
8 | + | - ./data:/data | |
9 | + | - /var/run/docker.sock:/var/run/docker.sock | |
10 | + | # ports: | |
11 | + | # - 9443:9443 | |
12 | + | networks: | |
13 | + | - npm-internal | |
14 | + | ||
15 | + | networks: | |
16 | + | npm-internal: | |
17 | + | name: npm-internal | |
18 | + | external: true |