Skip to content

Commit

Permalink
Minor fixes to tear-down the container
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Feb 12, 2024
1 parent 6b2a95f commit 714cef7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,5 @@ jobs:
command: |
wget https://raw.githubusercontent.com/arquisoft/wiq_es05b/master/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/arquisoft/wiq_es05b/master/.env -O .env
docker compose down
docker compose --profile prod down
docker compose --profile prod up -d
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,18 @@ The fastest way for launching this sample project is using docker. Just clone th
git clone https://github.com/Arquisoft/wiq_es05b.git
```

and launch it with docker compose:
launch it with docker compose:

```sh
docker compose --profile dev up --build
```

and tear it down:

```sh
docker compose --profile dev down
```

### Starting Component by component

First, start the database. Either install and run Mongo or run it using docker:
Expand Down Expand Up @@ -110,7 +116,7 @@ deploy:
command: |
wget https://raw.githubusercontent.com/arquisoft/wiq_es05b/master/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/arquisoft/wiq_es05b/master/.env -O .env
docker compose down
docker compose --profile prod down
docker compose --profile prod up -d
```
Expand Down

0 comments on commit 714cef7

Please sign in to comment.