Skip to content

Commit

Permalink
Remove init resources
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders committed Mar 3, 2022
1 parent b8afa6d commit a0f7836
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

> Docker-backed infrastructure management for the Fonoster application stack.
The easiest way to start running your Fonoster server is with our docker-in-docker (dind) installer.
Before running the installation command, make sure you have Docker Engine installed on your machine:
The easiest way to start running your Fonoster server is with our docker-in-docker (dind) installer. Before running the installation command, make sure you have Docker Engine installed on your machine:

#### Install (Happy path)

Expand All @@ -24,6 +23,7 @@ Install application with the latest version and add additional services.

```bash
docker run -it --rm \
-e VERBOSE=true \
-e CONFIG_PATH=$(pwd)/fonoster/config \
-e EXTRA_SERVICES=secrets,fs \
--volume /var/run/docker.sock:/var/run/docker.sock \
Expand Down
3 changes: 3 additions & 0 deletions docker/commands/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ function install() {
info "Creating service and user credentials... 🔑 "
execute "docker-compose -f init.yml up service_creds user_creds"

info "Removing initiaization resources... 📦 "
execute "docker rm $(docker ps -qa --filter status=exited)"

info "Please wait, the next command will take a few minutes... 🕐 "
if [ "$ENABLE_TLS" = "true" ]; then
execute "bash ./basic-network.sh start"
Expand Down

0 comments on commit a0f7836

Please sign in to comment.