Skip to content

Commit 20c4b8b

Browse files
build: migrate to docker compose v2 (#74)
1 parent 0dd36fb commit 20c4b8b

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

apps/api/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3'
21
services:
32
transcript-summarizer-api:
43
image: transcript-summarizer-api

apps/api/docs/production-setup.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Make sure Redis and MariaDB server are up and running.
4949
GPT_MODEL="gpt-4o"
5050
5151
# Docker env
52-
COMPOSE_PROJECT_NAME=transcript-summarizer-api
52+
COMPOSE_PROJECT_NAME=transcript-summarizer-api
5353
```
5454

5555
Make sure to replace the above example values with appropriate values as per your setup and configuration. Server Port is `3000`, you can update it if you want to use a different port of your choice.
@@ -114,15 +114,15 @@ Before using Docker, ensure you've configured the environment variables in your
114114
**Step 2: Build your docker container**
115115

116116
```bash
117-
docker-compose build
117+
docker compose build
118118
```
119119

120120
**Step 3: Start the Docker Containers**
121121

122122
To start your application within Docker containers, run the following command:
123123

124124
```bash
125-
docker-compose up -d
125+
docker compose up -d
126126
```
127127

128128
**Step 4: Database Migrations (First-Time Setup)**
@@ -142,19 +142,19 @@ If you need to update any environment variable values:
142142
2. Stop the running containers:
143143

144144
```bash
145-
docker-compose down
145+
docker compose down
146146
```
147147

148148
3. Rebuild the Docker containers with the updated environment variables:
149149

150150
```bash
151-
docker-compose build
151+
docker compose build
152152
```
153153

154154
4. Start the Docker containers again:
155155

156156
```bash
157-
docker-compose up -d
157+
docker compose up -d
158158
```
159159

160160
With these steps, your application should be up and running in Docker with the updated environment variables.

apps/api/docs/usage-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ Users must have a valid **Microsoft account** for **Azure Authentication**. Ensu
3434
Follow the development setup guides for API and portal to set up the codebase before proceeding further:
3535

3636
1. Set up API:
37-
- [API Development setup](/docs/development-setup.md)
38-
- [API Production setup](/docs/production-setup.md)
37+
- [API Development setup](./development-setup.md)
38+
- [API Production setup](./production-setup.md)
3939
2. Set up Portal:
40-
- [Portal Development setup](/../portal/docs/development-setup.md)
40+
- [Portal Development setup](../../portal/docs/development-setup.md)
4141

4242
## 3. Using the Transcript Summarizer Portal
4343

0 commit comments

Comments
 (0)