This commit is contained in:
@@ -34,16 +34,19 @@ Or, to build a new image, create a docker-compose.yml file with:
|
|||||||
services:
|
services:
|
||||||
portainer:
|
portainer:
|
||||||
build: . # Here you tell it: "Look for Dockerfile in the current folder"
|
build: . # Here you tell it: "Look for Dockerfile in the current folder"
|
||||||
image: portainer-ce-without-annoying:latest
|
image: portainer-ce-wa:latest
|
||||||
container_name: portainer
|
container_name: portainer-wa
|
||||||
|
user: "1000:1000"
|
||||||
|
group_add:
|
||||||
|
- "999"
|
||||||
restart: always
|
restart: always
|
||||||
network_mode: bridge # Force to use default network
|
network_mode: bridge # Force to use default network
|
||||||
ports:
|
|
||||||
- "9000:9000"
|
|
||||||
- "9443:9443"
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
|
ports:
|
||||||
|
- "9000:9000"
|
||||||
|
- "9443:9443"
|
||||||
```
|
```
|
||||||
and start with:
|
and start with:
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user