67 lines
1.5 KiB
Markdown
67 lines
1.5 KiB
Markdown
# Homepage Stack
|
|
|
|
## dockerproxy
|
|
um den Status von Dockercontainern direkt auslesen zu können
|
|
|
|
- Image: `ghcr.io/tecnativa/docker-socket-proxy:latest`
|
|
- Port: `127.0.0.1:2375:2375`
|
|
- Restart Policy: `unless-stopped`
|
|
|
|
## Homepage
|
|
das eigentlich
|
|
|
|
|
|
|
|
## Volumes
|
|
|
|
| Host Path | Container Path | Zweck |
|
|
|------------|----------------|--------|
|
|
| /var/run/docker.sock:/var/run/docker.sock:ro | | |
|
|
|
|
|
|
|
|
|
|
|
|
## Deployment
|
|
|
|
```bash
|
|
cd /docker/Bruchtal/compose/heimdall
|
|
git pull
|
|
docker compose pull
|
|
docker compose up -d
|
|
```
|
|
|
|
|
|
## aktuelles Skript
|
|
|
|
```snippet
|
|
--8<-- "/docs/docker/heimdall/docker-compose.yml"
|
|
```
|
|
|
|
|
|
dockerproxy:
|
|
image: ghcr.io/tecnativa/docker-socket-proxy:latest
|
|
container_name: dockerproxy
|
|
environment:
|
|
- CONTAINERS=1 # Allow access to viewing containers
|
|
- SERVICES=1 # Allow access to viewing services (necessary when using Docker Swarm)
|
|
- TASKS=1 # Allow access to viewing tasks (necessary when using Docker Swarm)
|
|
- POST=0 # Disallow any POST operations (effectively read-only)
|
|
ports:
|
|
- 127.0.0.1:2375:2375
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro # Mounted as read-only
|
|
restart: unless-stopped
|
|
|
|
homepage:
|
|
image: ghcr.io/gethomepage/homepage:latest
|
|
container_name: homepage
|
|
ports:
|
|
- "3004:3000"
|
|
volumes:
|
|
- /srv/docker/daten/homepage:/app/config
|
|
- /srv/docker/daten/homepage/icons:/app/public/icons
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
environment:
|
|
- HOMEPAGE_ALLOWED_HOSTS=192.168.178.204:3004,localhost
|
|
restart: unless-stopped |