Files
docker-compose/homepage/compose-docker.yaml
T

42 lines
1.2 KiB
YAML

services:
homepage_socket_proxy:
container_name: homepage_socket_proxy
image: ghcr.io/11notes/socket-proxy:2.1.7@sha256:6806f9b3cfe64325ae2dc967381412e415d868c9542753962fd2e73f4f9686f1
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.13.1@sha256:d8d784e5090111b6e4c56dfd90e272d2953a2094e87349f647165df0fa6c4401
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/images:/app/public/images
- ${APPDATA_PATH}/homepage/socket-proxy:/var/run
ports:
- ${APP_PORT}:3000
networks:
- frontend
- backend
networks:
frontend:
external: true
backend:
external: true