Adding yacy stack draft.
This commit is contained in:
parent
3f245cc3e6
commit
955b28b08a
7
yacy/.env.dist
Normal file
7
yacy/.env.dist
Normal 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
19
yacy/docker-compose.yml
Normal 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}"
|
Loading…
Reference in a new issue