Skip to content

build: migrate to docker compose v2 #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 20, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/api/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
transcript-summarizer-api:
image: transcript-summarizer-api
Expand Down
12 changes: 6 additions & 6 deletions apps/api/docs/production-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Make sure Redis and MariaDB server are up and running.
GPT_MODEL="gpt-4o"

# Docker env
COMPOSE_PROJECT_NAME=transcript-summarizer-api
COMPOSE_PROJECT_NAME=transcript-summarizer-api
```

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.
Expand Down Expand Up @@ -114,15 +114,15 @@ Before using Docker, ensure you've configured the environment variables in your
**Step 2: Build your docker container**

```bash
docker-compose build
docker compose build
```

**Step 3: Start the Docker Containers**

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

```bash
docker-compose up -d
docker compose up -d
```

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

```bash
docker-compose down
docker compose down
```

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

```bash
docker-compose build
docker compose build
```

4. Start the Docker containers again:

```bash
docker-compose up -d
docker compose up -d
```

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