diff --git a/docker-compose.yml b/docker-compose.yml index c6c9ced..e1a125a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,21 @@ version: "3" services: - whoogle-search: - image: benbusby/whoogle-search - container_name: whoogle-search - ports: - - 8888:5000 - restart: unless-stopped +# ---------------------------------------- + whoogle-search: + container_name: whoogle-search + hostname: whoogle-search + # Uncomment to build from local + # build: + # dockerfile: Dockerfile + # context: . + # image: "whoogle-search" + image: "benbusby/whoogle-search" + restart: always + ports: + - "5000:5000" + environment: + - PUID=${PUID} # User uid + - PGID=${PGID} # User gid + - TZ=${TZ} # TimeZone + - WEB_PORT=5000 # Default port 5000