Foxnouns.NET/DOCKER.md

13 lines
No EOL
602 B
Markdown

# Running with Docker
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. 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` for the frontend and API,
and on `localhost:5005` for the profile URL shortener.
The backend server listens on `localhost:5006` for unproxied API access,
and `localhost:5007` for metrics.