Archive homepage

This commit is contained in:
2025-08-09 21:31:06 +05:30
parent 61093e8846
commit 139bfcef8b

View File

@@ -1,35 +1,37 @@
services:
dockerproxy:
image: ghcr.io/tecnativa/docker-socket-proxy:0.3.0
container_name: dockerproxy
homepage_socket_proxy:
container_name: homepage_socket_proxy
image: ghcr.io/11notes/socket-proxy:2.1.3
restart: unless-stopped
read_only: true
user: ${SOCKET_UID}:${SOCKET_GID}
environment:
- CONTAINERS=${CONTAINERS} # Allow access to viewing containers
- SERVICES=${SERVICES} # Allow access to viewing services (necessary when using Docker Swarm)
- TASKS=${TASKS} # Allow access to viewing tasks (necessary when using Docker Swarm)
- POST=${POST} # Disallow any POST operations (effectively read-only)
TZ: ${TZ}
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- ${PROXY_PORT}:2375
- ${APPDATA_PATH}/homepage/socket-proxy:/run/proxy
- /run/docker.sock:/run/docker.sock:ro
networks:
- backend
restart: unless-stopped
homepage:
image: ghcr.io/gethomepage/homepage:v1.3.2
container_name: homepage
image: ghcr.io/gethomepage/homepage:v1.3.2
restart: unless-stopped
depends_on:
homepage_socket_proxy:
condition: service_healthy
environment:
- PUID=${PUID}
- PGID=${PGID}
- HOMEPAGE_ALLOWED_HOSTS=${HOMEPAGE_ALLOWED_HOSTS}
volumes:
- ${APPDATA_PATH}/homepage/config:/app/config
- ${APPDATA_PATH}/homepage/socket-proxy:/var/run
ports:
- ${APP_PORT}:3000
networks:
- frontend
- backend
restart: unless-stopped
networks:
frontend: