Adding yacy stack draft.

This commit is contained in:
Alexey Skobkin 2019-11-23 01:54:04 +03:00
parent 3f245cc3e6
commit 955b28b08a
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7
2 changed files with 26 additions and 0 deletions

7
yacy/.env.dist Normal file
View file

@ -0,0 +1,7 @@
HTTP_PORT=8090
HTTPS_PORT=8443
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5
LOCAL_DATA_PATH=/var/log/yacy

19
yacy/docker-compose.yml Normal file
View file

@ -0,0 +1,19 @@
version: '3.7'
services:
yacy:
image: luccioman/yacy:latest-alpine
container_name: yacy
ports:
- "${HTTP_PORT}:${8090}/tcp"
#- "${HTTPS_PORT}:${8443}/tcp"
env_file: .env
volumes:
- "${LOCAL_DATA_PATH}:/opt/yacy_search_server/DATA"
#user: "${HOST_USER}"
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE}"
max-file: "${LOG_MAX_FILE}"