mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Changes: - Updated the vulnerability dashboard configuration for the dockerized version to make sure it uses the `safe` migration strategy
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
version: '3'
|
|
services:
|
|
vuln-dash:
|
|
build: .
|
|
ports:
|
|
- "1337:1337"
|
|
depends_on:
|
|
- redis
|
|
- postgres
|
|
environment:
|
|
sails_datastores__default__url: postgres://user:password@postgres:5432/dbname
|
|
sails_datastores__default__adapter: sails-postgresql
|
|
sails_sockets__url: redis://redis:6379
|
|
sails_session__url: redis://redis:6379
|
|
sails_models__migrate: safe
|
|
sails_custom__fleetBaseUrl: '' #Add the base url of your Fleet instance: ex: https://fleet.example.com
|
|
sails_custom__fleetApiToken: '' # Add the API token of an API-only user [?] Here's how you get one: https://fleetdm.com/docs/using-fleet/fleetctl-cli#get-the-api-token-of-an-api-only-user
|
|
sails_custom__fleetApiOptionalCookie: '' # If your fleet instance requires optional cookies, use this to interact with the APIs
|
|
|
|
redis:
|
|
image: "redis:alpine"
|
|
|
|
postgres:
|
|
image: "postgres:alpine"
|
|
environment:
|
|
POSTGRES_USER: user
|
|
POSTGRES_PASSWORD: password
|
|
POSTGRES_DB: dbname
|
|
volumes:
|
|
- pgdata:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
pgdata:
|