Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
oxigraph/docker-compose.yml

23 lines
684 B

version: "3"
services:
oxigraph:
# image: oxigraph/oxigraph
build: .
volumes:
- ./data:/data
nginx-auth:
image: nginx:1.21.4
volumes:
- ./server/nginx.conf:/etc/nginx/nginx.conf
## For multiple users: uncomment this line to use your local .htpasswd file:
# - ./.htpasswd:/etc/nginx/.htpasswd
ports:
- 7878:7878
environment:
- OXIGRAPH_USER=${OXIGRAPH_USER:-oxigraph}
- OXIGRAPH_PASSWORD=${OXIGRAPH_PASSWORD:-oxigraphy}
entrypoint: "bash -c 'echo -n $OXIGRAPH_USER: >> /etc/nginx/.htpasswd && echo $OXIGRAPH_PASSWORD | openssl passwd -stdin -apr1 >> /etc/nginx/.htpasswd && /docker-entrypoint.sh nginx'"