diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a163bfb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM ghcr.io/gethomepage/homepage:latest + +# Copy configuration files from the repository into the container +COPY ./config /app/config diff --git a/docker-compose.yaml b/docker-compose.yaml index cbf30c4..ef25f6f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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}