aauren/stork
A version of ISC stork for running in a docker container
128
Initiating PostgresQL:
CREATE DATABASE stork;
CREATE USER stork WITH PASSWORD '<password>';
GRANT ALL PRIVILEGES ON DATABASE "stork" to stork;
GRANT ALL ON SCHEMA public TO stork;
CREATE EXTENSION pgcrypto;
Docker Compose could look like:
---
services:
stork:
image: aauren/stork:latest
container_name: stork
ports:
- 8080:8080
restart: unless-stopped
environment:
STORK_DATABASE_HOST: <postgres_host>
STORK_DATABASE_PORT: 5432
STORK_DATABASE_NAME: stork
STORK_DATABASE_USER_NAME: stork
STORK_DATABASE_PASSWORD: <password>
# enables Prometheus metrics
STORK_SERVER_ENABLE_METRICS: true
volumes:
- stork_data:/var/lib/stork
# If desired to install stork packages for RPM / APK / DEB install uncomment below and fill in path
#- <agent_pkg_cache_path>:/usr/share/stork/www/assets/pkgs
volumes:
stork_data:
Put this compose YAML into a directory and run docker compose up -d
Default username / password for stork will be: admin
:admin
(you should change this after you get in)
In order to install agent packages, you can download them to the mounted volume from the compose file from: ISC Cloudsmith Repo
See https://github.com/aauren/dockerfiles/tree/master/stork repo for build config and information
docker pull aauren/stork