Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Docker Restart Policies to all docker-compose files so that Strelka restarts in a fully running state. #473

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build/docker-compose-no-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ services:
coordinator:
image: redis:alpine
command: redis-server --save "" --appendonly no # alt: use config file via volume mapping
restart: unless-stopped
networks:
- net

gatekeeper:
image: redis:alpine
command: redis-server --save "" --appendonly no --maxmemory-policy allkeys-lru # alt: use config file via volume mapping
restart: unless-stopped
networks:
- net

Expand All @@ -79,6 +81,7 @@ services:

ui:
image: target/strelka-ui:latest
restart: unless-stopped
pull_policy: always
environment:
- DATABASE_HOST=postgresdb
Expand All @@ -95,6 +98,7 @@ services:

postgresdb:
image: docker.io/bitnami/postgresql:11
restart: unless-stopped
environment:
- POSTGRESQL_DATABASE=strelka_ui
- POSTGRESQL_PASSWORD=postgres
Expand Down
4 changes: 4 additions & 0 deletions build/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ services:
coordinator:
image: redis:alpine
command: redis-server --save "" --appendonly no # alt: use config file via volume mapping
restart: unless-stopped
networks:
- net

gatekeeper:
image: redis:alpine
command: redis-server --save "" --appendonly no --maxmemory-policy allkeys-lru # alt: use config file via volume mapping
restart: unless-stopped
networks:
- net

Expand All @@ -83,6 +85,7 @@ services:

ui:
image: target/strelka-ui:latest
restart: unless-stopped
pull_policy: always
environment:
- DATABASE_HOST=postgresdb
Expand All @@ -104,6 +107,7 @@ services:

postgresdb:
image: docker.io/bitnami/postgresql:11
restart: unless-stopped
environment:
- POSTGRESQL_DATABASE=strelka_ui
- POSTGRESQL_PASSWORD=postgres
Expand Down
Loading