Skip to content

Commit 51698c9

Browse files
docs: set docker compose v2 commands
1 parent df51532 commit 51698c9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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.

0 commit comments

Comments
 (0)