feat: docker config for new frontend

This commit is contained in:
sam 2024-12-09 18:04:56 +01:00
parent c6eba5b51a
commit bb2fa55cd5
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
9 changed files with 54 additions and 23 deletions

View file

@ -2,7 +2,9 @@
1. Copy `docker/config.example.ini` to `docker/config.ini`, and change the settings to your liking.
2. Copy `docker/proxy-config.example.json` to `docker/proxy-config.json`, and do the same.
3. Build with `docker compose build`
4. Run with `docker compose up`
3. Copy `docker/frontend.example.env` to `docker/frontend.env`, and do th esame.
4. Build with `docker compose build`
5. Run with `docker compose up`
The Caddy server will listen on `localhost:5004`.
The Caddy server will listen on `localhost:5004` for the frontend and API,
and on `localhost:5005` for the profile URL shortener.