37 lines
No EOL
1.1 KiB
Markdown
37 lines
No EOL
1.1 KiB
Markdown
# Baikal Docker Setup with Traefik
|
|
|
|
This guide provides instructions for deploying Baikal using Docker and Traefik as a reverse proxy. The setup includes securing the Baikal instance with HTTPS and configuring a trusted proxy.
|
|
|
|
## Prerequisites
|
|
- Docker and Docker Compose installed on your system
|
|
- Traefik configured as your reverse proxy
|
|
- A domain name pointing to your Baikal instance
|
|
|
|
## Environment Variables
|
|
Before deploying the container, create a `.env` file from the provided `.env-example` file and adjust the values as needed.
|
|
|
|
```sh
|
|
cp .env-example .env
|
|
nano .env
|
|
```
|
|
|
|
## Starting the Container
|
|
Once the `.env` file is configured, start the Baikal container using:
|
|
```sh
|
|
docker-compose up -d
|
|
```
|
|
|
|
## Configuring the Reverse Proxy
|
|
To enable proper proxy support in Baikal, update `data/config/configuration.yaml` with the following settings:
|
|
|
|
|
|
## Accessing Baikal
|
|
Once everything is set up, restart Baikal and it should be accessible via the configured domain:
|
|
```
|
|
https://baikal.example.com
|
|
```
|
|
|
|
If there are any issues, check the container logs with:
|
|
```sh
|
|
docker logs -f baikal
|
|
``` |