Files
docker-compose/homepage/compose.yaml

41 lines
1.1 KiB
YAML

services:
homepage_socket_proxy:
container_name: homepage_socket_proxy
image: ghcr.io/11notes/socket-proxy:2.1.6@sha256:2f4e605a5441b31389a95ef942af45927e8df4df4e974cfa271a388799d4f87b
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.8.0@sha256:7dc099d5c6ec7fc945d858218565925b01ff8a60bcbfda990fc680a8b5cd0b6e
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