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