27 lines
867 B
YAML
27 lines
867 B
YAML
version: "3"
|
|
services:
|
|
librey:
|
|
image: ghcr.io/ahwxorg/librey:latest
|
|
container_name: librey
|
|
network_mode: bridge
|
|
ports:
|
|
- 8080:8080
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- VERSION=docker
|
|
- TZ=America/New_York
|
|
- CONFIG_GOOGLE_DOMAIN=com
|
|
- CONFIG_GOOGLE_LANGUAGE_SITE=en
|
|
- CONFIG_GOOGLE_LANGUAGE_RESULTS=en
|
|
- CONFIG_TEXT_SEARCH_ENGINE=google
|
|
- CONFIG_INSTANCE_FALLBACK=true
|
|
- CONFIG_WIKIPEDIA_LANGUAGE=en
|
|
volumes:
|
|
- ./nginx_logs:/var/log/nginx
|
|
- ./php_logs:/var/log/php7
|
|
restart: unless-stopped
|
|
watchtower: # Watchtower is not required but highly recommended, since Watchtower will re-pull and restart the LibreY container automatically whenever there's an update.
|
|
image: containrrr/watchtower
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|