Files
docker-compose/homepage/compose.yaml

41 lines
975 B
YAML

services:
homepage_socket_proxy:
container_name: homepage_socket_proxy
image: ghcr.io/11notes/socket-proxy:2.1.6
restart: unless-stopped
read_only: true
user: ${SOCKET_UID}:${SOCKET_GID}
environment:
TZ: ${TZ}
volumes:
- ${APPDATA_PATH}/homepage/socket-proxy:/run/proxy
- /run/docker.sock:/run/docker.sock:ro
networks:
- backend
homepage:
container_name: homepage
image: ghcr.io/gethomepage/homepage:v1.5.0
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
networks:
frontend:
external: true
backend:
external: true