Created Homepage
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
# Comma-separated list of hostnames/IPs allowed to access Homepage (e.g. homepage.example.com,192.168.1.10)
|
||||||
|
HOMEPAGE_ALLOWED_HOSTS=
|
||||||
|
|
||||||
|
# User ID to run the container process as (match your host user's UID)
|
||||||
|
HOMEPAGE_PUID=1000
|
||||||
|
|
||||||
|
# Group ID to run the container process as (match your host user's GID)
|
||||||
|
HOMEPAGE_PGID=1000
|
||||||
|
|
||||||
|
# Host port to expose Homepage on (maps to container port 3000)
|
||||||
|
HOMEPAGE_PORT=3000
|
||||||
|
|
||||||
|
# Host username whose home directory holds the config folder (used in volume path)
|
||||||
|
HOMEPAGE_USERNAME=
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: gethomepage/homepage:v1.12.3
|
||||||
|
container_name: homepage
|
||||||
|
environment:
|
||||||
|
HOMEPAGE_ALLOWED_HOSTS: ${HOMEPAGE_ALLOWED_HOSTS}
|
||||||
|
PUID: ${HOMEPAGE_PUID}
|
||||||
|
PGID: ${HOMEPAGE_PGID}
|
||||||
|
ports:
|
||||||
|
- ${HOMEPAGE_PORT}:3000
|
||||||
|
volumes:
|
||||||
|
- /home/${HOMEPAGE_USERNAME}/homepage/config:/app/config
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user