You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
973 B
37 lines
973 B
1 year ago
|
version: "3.7"
|
||
|
|
||
|
services:
|
||
|
app_proxy:
|
||
|
environment:
|
||
|
APP_HOST: portainer_portainer_1
|
||
|
APP_PORT: 9000
|
||
|
|
||
|
docker:
|
||
|
image: docker:24.0.5-dind
|
||
|
privileged: true
|
||
|
network_mode: host
|
||
|
stop_grace_period: 1m
|
||
|
restart: on-failure
|
||
|
environment:
|
||
|
DOCKER_ENSURE_BRIDGE: "dind0:10.32.0.1/16"
|
||
|
entrypoint: /entrypoint.sh
|
||
|
command: >
|
||
|
dockerd
|
||
|
--bridge dind0
|
||
|
--data-root /data/data
|
||
|
--exec-root /data/exec
|
||
|
--host unix:///data/docker.sock
|
||
|
--pidfile /data/docker.pid
|
||
|
volumes:
|
||
|
- ${APP_DATA_DIR}/entrypoint.sh:/entrypoint.sh
|
||
|
- ${APP_DATA_DIR}/data/docker:/data
|
||
|
|
||
|
portainer:
|
||
|
image: portainer/portainer-ce:2.19.0
|
||
|
command: --host unix:///var/run/docker.sock --admin-password-file=/default-password
|
||
|
restart: on-failure
|
||
|
volumes:
|
||
|
- ${APP_DATA_DIR}/default-password:/default-password
|
||
|
- ${APP_DATA_DIR}/data/portainer:/data
|
||
|
- ${APP_DATA_DIR}/data/docker:/var/run
|