hedgedoc/docker
Tilman Vatteroth 0da51bba67
Add basic realtime communication (#2118)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-06-18 16:40:28 +00:00
..
.gitignore Add basic realtime communication (#2118) 2022-06-18 16:40:28 +00:00
Caddyfile Add basic realtime communication (#2118) 2022-06-18 16:40:28 +00:00
download-caddy.sh Add basic realtime communication (#2118) 2022-06-18 16:40:28 +00:00
README.md Add basic realtime communication (#2118) 2022-06-18 16:40:28 +00:00

To use backend and frontend together you need a reverse proxy that combines both services under one origin.

We provide a ready to use config for nginx and caddy. Make sure that in the backend HD_DOMAIN is set to http://localhost:8080.

If you have docker you can use our docker-compose file that starts a nginx using docker-compose up. If you're on Windows or macOS you rather might want to download caddy and start it using caddy run in this directory.