Skip to content

Commit

Permalink
Fix DockerConfig typo and add network to Redis service (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjndw authored Jan 26, 2024
1 parent 5c57757 commit 40054fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion HadesScheduler/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type Scheduler struct{}

type DockerConfig struct {
DockerHost string `env:"DOCKER_HOST" envDefault:"unix:///var/run/docker.sock"`
ContainerAutoremove bool `env:"CONTAINER_AUTOREMOVE" envDefault:"true`
ContainerAutoremove bool `env:"CONTAINER_AUTOREMOVE" envDefault:"true"`
DockerScriptExecutor string `env:"DOCKER_SCRIPT_EXECUTOR" envDefault:"/bin/bash -c"`
}

Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ services:
image: redis:7.2
ports:
- "6379:6379"
networks:
- hades
environment:
- REDIS_PASSWORD
healthcheck:
Expand Down

0 comments on commit 40054fd

Please sign in to comment.