Update docker-compose file

Adding build option for dockerfile
This commit is contained in:
mohammedalqadi 2020-05-11 05:56:33 +03:00 committed by GitHub
parent ba2da9dcf9
commit 486f148e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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