-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jan Zmeskal <[email protected]>
- Loading branch information
Showing
5 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,11 @@ localhost:5433 --- Quay's Postgres DB | |
username: quay | ||
database: quay | ||
localhost:8081 --- Postgres GUI (pgadmin4) | ||
Login: | ||
username: [email protected] | ||
password: clair | ||
localhost:8082 --- OpenAPI Swagger Editor. | ||
You can view ClairV4's public API here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,21 @@ services: | |
retries: 3 | ||
start_period: 10s | ||
|
||
pgadmin: | ||
container_name: pgadmin | ||
image: dpage/pgadmin4:latest | ||
environment: | ||
PGADMIN_DEFAULT_EMAIL: [email protected] | ||
PGADMIN_DEFAULT_PASSWORD: clair | ||
PGADMIN_SERVER_JSON_FILE: /pgadmin4/config/servers.json | ||
PGADMIN_LISTEN_PORT: 8081 | ||
ports: | ||
- "8081:8081" | ||
volumes: | ||
- "./local-dev/pgadmin:/pgadmin4/config" | ||
depends_on: | ||
- clair-db | ||
|
||
traefik: | ||
container_name: clair-traefik | ||
image: traefik:v2.2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# hostname:port:database:username:password | ||
clair-db:5432:clair-db:clair:clair |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"Servers": { | ||
"1": { | ||
"Name": "clair-db", | ||
"Group": "Servers", | ||
"Port": 5432, | ||
"Username": "clair", | ||
"Host": "clair-db", | ||
"SSLMode": "disable", | ||
"MaintenanceDB": "postgres", | ||
"PassFile": "/pgadmin4/config/passfile.txt" | ||
} | ||
} | ||
} |