You've already forked ansible-netbox-inventory
feat: throwaway netbox deployment for end-to-end testing
compose stack modelled on the production netbox deployment (same pinned images, worker, healthchecks) minus traefik: the API is served straight on localhost and nothing survives an e2e-down.
This commit is contained in:
24
e2e/env.example
Normal file
24
e2e/env.example
Normal file
@@ -0,0 +1,24 @@
|
||||
# Throwaway credentials for the local e2e stack only, never reuse them.
|
||||
|
||||
# NetBox
|
||||
NETBOX_DOCKER_VERSION=4.0.2
|
||||
NETBOX_VERSION=v4.5.8
|
||||
NETBOX_HTTP_PORT=8800
|
||||
NETBOX_API_TOKEN_PEPPER_1="e2e-only-pepper-0123456789abcdefghijklmnopqrstuvwxyz-0123456789"
|
||||
NETBOX_SECRET_KEY="e2e-only-secret-key-0123456789abcdefghijklmnopqrstuvwxyz"
|
||||
NETBOX_SUPERUSER_NAME=admin
|
||||
NETBOX_SUPERUSER_EMAIL=admin@example.com
|
||||
NETBOX_SUPERUSER_PASS=admin-e2e-password
|
||||
|
||||
# PostgreSQL
|
||||
PSQL_VERSION=18.3-alpine3.22
|
||||
PSQL_NAME=netbox
|
||||
PSQL_USER=netbox
|
||||
PSQL_PASS=netbox-e2e-password
|
||||
|
||||
# Redis
|
||||
REDIS_VERSION=8.6.2-alpine3.23
|
||||
REDIS_PASS=redis-e2e-password
|
||||
|
||||
# Redis Cache
|
||||
REDIS_CACHE_PASS=redis-cache-e2e-password
|
||||
Reference in New Issue
Block a user