mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
17 lines
690 B
YAML
17 lines
690 B
YAML
services:
|
|
# nginx server to host static files.
|
|
# Accepts only PUT data by test.com/path and GET already existing data on test.com/path.
|
|
# Files will be put into /usr/share/nginx/files.
|
|
|
|
nginx:
|
|
image: clickhouse/nginx-dav:${DOCKER_NGINX_DAV_TAG:-latest}
|
|
stop_grace_period: 5s
|
|
restart: always
|
|
ports:
|
|
# NOTE: It is enough to change only the host port, since in
|
|
# container there should not be overlaps, plus, you don't have to
|
|
# change all the invocations inside the container network to this
|
|
# $NGINX_EXTERNAL_PORT and simply can use "80".
|
|
- ${NGINX_EXTERNAL_PORT}:80
|
|
cpus: 3
|