feat: switch to Dockerfile build to bake config into image

This commit is contained in:
2026-02-16 22:04:24 -03:00
parent 50b79dd3fa
commit d27fcff3ae
2 changed files with 11 additions and 3 deletions

View File

@@ -1,13 +1,17 @@
services:
homepage:
image: ghcr.io/gethomepage/homepage:latest
# image: ghcr.io/gethomepage/homepage:latest
build:
context: .
dockerfile: Dockerfile
container_name: homepage
restart: unless-stopped
networks:
- proxy
- socket_proxy
volumes:
- ${CONFIG_PATH:-./config}:/app/config
# Volumes are commented out to use the baked-in config from Git
# volumes:
# - ./config:/app/config
environment:
- PUID=${PUID}
- PGID=${PGID}