Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,12 @@ From Your Browser:
- Click the user icon to generate a new account link
- Follow the link to create an account

### Example with nginx-proxy

If you are using [nginx-proxy](https://github.com/nginx-proxy/nginx-proxy) for automatic certification renewall,
see the example provided in `/examples/docker-nginx-proxy/` directory.


### Other installation options

Install without a container on a Raspberry Pi Zero [here](/doc/pizero.md).
Expand Down
22 changes: 22 additions & 0 deletions examples/docker-nginx-proxy/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: databag

networks:
reverse-proxy:
external: true
name: reverse-proxy

services:
app:
build: .
volumes:
- database:/var/lib/databag
environment:
- ADMIN=password
- VIRTUAL_HOST=sub.domain.com
- VIRTUAL_PORT=7000
- LETSENCRYPT_HOST=sub.domain.com
- LETSENCRYPT_EMAIL=your@email.com
networks:
- reverse-proxy
volumes:
database: