buku/docker-compose/docker-compose.yml
Ameya Shenoy 4e13df9738 Docker compose (#417)
* feat(docker): add healthcheck to container

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>

* feat(docker): add docker-compose files

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2019-09-24 07:50:06 +05:30

27 lines
595 B
YAML

version: '3.7'
services:
bukuserver:
image: bukuserver/bukuserver
restart: unless-stopped
environment:
- BUKUSERVER_PER_PAGE=100
- BUKUSERVER_OPEN_IN_NEW_TAB=true
# - BUKUSERVER_SECRET_KEY=123456789012345678901234
# - BUKUSERVER_URL_RENDER_MODE=full
# - BUKUSERVER_DISABLE_FAVICON=false
ports:
- "5001:5001"
volumes:
- ./data:/root/.local/share/buku
nginx:
image: nginx:alpine
restart: unless-stopped
ports:
- "80:80"
volumes:
- ./data/nginx:/etc/nginx/conf.d
- ./data/basic_auth:/basic_auth