Skip to content

Commit

Permalink
Merge pull request #6 from Arquisoft/ft_solveproblemcompose
Browse files Browse the repository at this point in the history
Little fixes into the README.md and deploy.yml to tear-down the containers correctly
  • Loading branch information
labra committed Feb 12, 2024
2 parents e9278f2 + 1f0cbfb commit f4f8efb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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_0/master/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/arquisoft/wiq_0/master/.env -O .env
docker compose down
docker compose --profile prod down
docker compose --profile prod up -d
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ and launch it with docker compose:
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 @@ -102,7 +108,7 @@ deploy:
command: |
wget https://raw.githubusercontent.com/arquisoft/wiq_0/master/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/arquisoft/wiq_0/master/.env -O .env
docker compose down
docker compose --profile prod down
docker compose --profile prod up -d
```
Expand Down

0 comments on commit f4f8efb

Please sign in to comment.