Skip to content

Commit

Permalink
fix: update
Browse files Browse the repository at this point in the history
Usage:  docker compose [OPTIONS] COMMAND

Define and run multi-container applications with Docker

Options:
      --ansi string                Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
      --compatibility              Run compose in backward compatibility mode
      --dry-run                    Execute command in dry run mode
      --env-file stringArray       Specify an alternate environment file
  -f, --file stringArray           Compose configuration files
      --parallel int               Control max parallelism, -1 for unlimited (default -1)
      --profile stringArray        Specify a profile to enable
      --progress string            Set type of progress output (auto, tty, plain, quiet) (default "auto")
      --project-directory string   Specify an alternate working directory
                                   (default: the path of the, first specified, Compose file)
  -p, --project-name string        Project name

Commands:
  attach      Attach local standard input, output, and error streams to a service's running container
  build       Build or rebuild services
  config      Parse, resolve and render compose file in canonical format
  cp          Copy files/folders between a service container and the local filesystem
  create      Creates containers for a service
  down        Stop and remove containers, networks
  events      Receive real time events from containers
  exec        Execute a command in a running container
  images      List images used by the created containers
  kill        Force stop service containers
  logs        View output from containers
  ls          List running compose projects
  pause       Pause services
  port        Print the public port for a port binding
  ps          List containers
  pull        Pull service images
  push        Push service images
  restart     Restart service containers
  rm          Removes stopped service containers
  run         Run a one-off command on a service
  scale       Scale services
  start       Start services
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop services
  top         Display the running processes
  unpause     Unpause services
  up          Create and start containers
  version     Show the Docker Compose version information
  wait        Block until the first service container stops
  watch       Watch build context for service and rebuild/refresh containers when files are updated

Run 'docker compose COMMAND --help' for more information on a command. from  in makefile
  • Loading branch information
robcxyz committed Apr 4, 2024
1 parent c2f4b03 commit 410241b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
keystore.json

# ides
.idea
.vscode

Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ GOD_WALLET_PATH ?= icon-chain/config/keystore.json
GOD_WALLET_PASSWORD ?= gochain

clone-dependencies: ## Clone all the dependencies
git clone https://github.com/sudoblockio/icon-tracker-frontend
git clone https://github.com/icon-project/goloop
@test -d icon-tracker-frontend || git clone https://github.com/sudoblockio/icon-tracker-frontend
@test -d goloop || git clone https://github.com/icon-project/goloop

up-stack: ## Bring up the stack
docker-compose \
docker compose \
-f docker-compose.yml \
-f docker-compose.icon-chain.yml \
-f docker-compose.nginx.yml \
-f docker-compose.frontend.yml \
up -d

down-stack: ## Bring down the stack without deleting volumes
docker-compose \
docker compose \
-f docker-compose.yml \
-f docker-compose.icon-chain.yml \
-f docker-compose.nginx.yml \
-f docker-compose.frontend.yml \
down

enable-debug:
@docker-compose -f docker-compose.icon-chain.yml exec -T icon goloop system config rpcIncludeDebug true
@docker compose -f docker-compose.icon-chain.yml exec -T icon goloop system config rpcIncludeDebug true

install-goloop: ## Install goloop
cd goloop && $(MAKE) goloop
Expand Down

0 comments on commit 410241b

Please sign in to comment.