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" version: "3"
services: services:
whoogle-search: # ----------------------------------------
image: benbusby/whoogle-search whoogle-search:
container_name: whoogle-search container_name: whoogle-search
ports: hostname: whoogle-search
- 8888:5000 # Uncomment to build from local
restart: unless-stopped # 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