Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Added restart flags for Harbor containers in docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
cdchris12 committed Mar 30, 2020
1 parent 61c47b6 commit cfe070e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ services:
- SCANNER_CLAIR_DATABASE_URL=postgres://postgres:test123@harbor-database:5432/postgres?sslmode=disable
- SCANNER_STORE_REDIS_URL=redis://harbor-redis:6379/4
- SCANNER_LOG_LEVEL=error
restart: always
labels:
lagoon.type: custom
lagoon.template: services/harborclairadapter/harborclair.yml
Expand Down Expand Up @@ -658,6 +659,7 @@ services:
- REGISTRY_HTTP_SECRET=secret123
- HARBOR_ADMIN_PASSWORD=admin
- CLAIR_DB_PASSWORD=test123
restart: always
labels:
lagoon.type: custom
lagoon.template: services/harbor-core/harbor-core.yml
Expand All @@ -671,6 +673,7 @@ services:
- POSTGRES_PASSWORD=test123
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
restart: always
labels:
lagoon.type: custom
lagoon.template: services/harbor-database/harbor-database.yml
Expand Down Expand Up @@ -699,6 +702,7 @@ services:
- SCANNER_CLAIR_DATABASE_URL=postgres://postgres:test123@harbor-database:5432/postgres?sslmode=disable
- SCANNER_STORE_REDIS_URL=redis://harbor-redis:6379/4
- SCANNER_LOG_LEVEL=error
restart: always
labels:
lagoon.type: custom
lagoon.template: services/harbor-jobservice/harbor-jobservice.yml
Expand All @@ -714,6 +718,7 @@ services:
- harbor-core
- harborregistry
- harbor-portal
restart: always
labels:
lagoon.type: custom
lagoon.template: services/harbor-nginx/harbor-nginx.yml
Expand All @@ -723,6 +728,7 @@ services:
hostname: harbor-portal
ports:
- '8085:8080'
restart: always
labels:
lagoon.type: custom
lagoon.template: services/harbor-portal/harbor-portal.yml
Expand All @@ -732,6 +738,7 @@ services:
hostname: harbor-redis
volumes:
- /var/lib/redis
restart: always
labels:
lagoon.type: custom
lagoon.template: services/harbor-redis/harbor-redis.yml
Expand Down

0 comments on commit cfe070e

Please sign in to comment.