Skip to content

Commit c15a088

Browse files
authored
Add nginx-proxy example (#175)
Signed-off-by: henmohr <[email protected]>
1 parent 8c691a5 commit c15a088

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ From Your Browser:
148148
- Click the user icon to generate a new account link
149149
- Follow the link to create an account
150150

151+
### Example with nginx-proxy
152+
153+
If you are using [nginx-proxy](https://github.com/nginx-proxy/nginx-proxy) for automatic certification renewall,
154+
see the example provided in `/examples/docker-nginx-proxy/` directory.
155+
156+
151157
### Other installation options
152158

153159
Install without a container on a Raspberry Pi Zero [here](/doc/pizero.md).
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: databag
2+
3+
networks:
4+
reverse-proxy:
5+
external: true
6+
name: reverse-proxy
7+
8+
services:
9+
app:
10+
build: .
11+
volumes:
12+
- database:/var/lib/databag
13+
environment:
14+
- ADMIN=password
15+
- VIRTUAL_HOST=sub.domain.com
16+
- VIRTUAL_PORT=7000
17+
- LETSENCRYPT_HOST=sub.domain.com
18+
19+
networks:
20+
- reverse-proxy
21+
volumes:
22+
database:

0 commit comments

Comments
 (0)