all repos

onasty @ 3f33118

a one-time notes service

onasty/deploy/README.md (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
chore: add deploy suite (#210), 8 months ago
1
# Deploy
2
3
>[!IMPORTANT] Before deploying:
4
> 1. Set the environment variables in `docker-compose.yml` and `docker-compose.monitoring.yml` before running them.
5
> 1. Set your domain in `../infra/caddy/Caddyfile`.
6
7
Building the frontend app, so it can be served:
8
```bash
9
./build.sh
10
```
11
12
Run the containers:
13
```bash
14
docker compose up -d
15
```
16
17
Run the monitoring suite:
18
```bash
19
docker compose up -d -f docker-compose.monitoring.yml
20
```
21
22
The monitoring suite is not added to the Caddyfile, so you would need to be in the same network to access it.