22 lines
565 B
YAML
22 lines
565 B
YAML
services:
|
|
dockge:
|
|
image: dockge:local
|
|
build:
|
|
context: .
|
|
dockerfile: docker/Dockerfile
|
|
target: release
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:5001:5001"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./data:/app/data
|
|
- grype-db:/app/grype-db
|
|
# Stack paths must match inside Dockge and on the Docker host.
|
|
- "${DOCKGE_STACKS_DIR:-/opt/stacks}:${DOCKGE_STACKS_DIR:-/opt/stacks}"
|
|
environment:
|
|
DOCKGE_STACKS_DIR: "${DOCKGE_STACKS_DIR:-/opt/stacks}"
|
|
|
|
volumes:
|
|
grype-db:
|