Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netbox-awx-plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ICS Control System Infrastructure
netbox-awx-plugin
Commits
6b2314af
Commit
6b2314af
authored
2 months ago
by
Anders Harrisson
Browse files
Options
Downloads
Patches
Plain Diff
Update docker-compose for testing v4
parent
fcb9585e
No related branches found
No related tags found
1 merge request
!21
Move to NetBox 4.x
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.docker/docker-compose.yml
+16
-14
16 additions, 14 deletions
.docker/docker-compose.yml
with
16 additions
and
14 deletions
.docker/docker-compose.yml
+
16
−
14
View file @
6b2314af
version
:
'
3.4'
services
:
netbox
:
&netbox
image
:
docker.io/netboxcommunity/netbox:v
3.7.8
image
:
docker.io/netboxcommunity/netbox:v
4.2-3.2.0
depends_on
:
-
postgres
-
redis
-
redis-cache
-
netbox-worker
environment
:
CORS_ORIGIN_ALLOW_ALL
:
"
true"
DB_HOST
:
postgres
...
...
@@ -28,46 +27,49 @@ services:
MAX_PAGE_SIZE
:
"
1000"
MEDIA_ROOT
:
/opt/netbox/netbox/media
METRICS_ENABLED
:
"
false"
NAPALM_PASSWORD
:
"
"
NAPALM_TIMEOUT
:
"
10"
NAPALM_USERNAME
:
"
"
REDIS_CACHE_DATABASE
:
"
1"
REDIS_CACHE_HOST
:
redis-cache
REDIS_CACHE_INSECURE_SKIP_TLS_VERIFY
:
"
false"
REDIS_CACHE_PASSWORD
:
eeCae8ai0hua4koK
REDIS_CACHE_SSL
:
"
false"
REDIS_DATABASE
:
"
0"
REDIS_HOST
:
redis
REDIS_INSECURE_SKIP_TLS_VERIFY
:
"
false"
REDIS_PASSWORD
:
Choopike2aeBee1f
REDIS_SSL
:
"
false"
RELEASE_CHECK_URL
:
https://api.github.com/repos/netbox-community/netbox/releases
SECRET_KEY
:
ohL4EipaHaeng1ohrieh7xeeghoun7Qualaesoor4ahr2Daup4
SKIP_STARTUP_SCRIPTS
:
"
false"
SKIP_SUPERUSER
:
"
false"
SUPERUSER_API_TOKEN
:
0123456789abcdef0123456789abcdef01234567
SUPERUSER_EMAIL
:
admin@example.com
SUPERUSER_NAME
:
admin
SUPERUSER_PASSWORD
:
admin
WEBHOOKS_ENABLED
:
"
true"
user
:
'
101'
ports
:
-
8080:8080
user
:
"
unit:root"
volumes
:
-
./configuration:/etc/netbox/config:z,ro
-
../netbox_awx_plugin:/opt/netbox/venv/lib/python3.1
1
/site-packages/netbox_awx_plugin
-
../netbox_awx_plugin:/opt/netbox/venv/lib/python3.1
2
/site-packages/netbox_awx_plugin
netbox-worker
:
<<
:
*netbox
ports
:
[]
depends_on
:
-
redis
entrypoint
:
-
netbox
command
:
-
/opt/netbox/venv/bin/python
-
/opt/netbox/netbox/manage.py
command
:
-
rqworker
postgres
:
image
:
postgres:13-alpine
image
:
docker.io/postgres:17-alpine
healthcheck
:
test
:
pg_isready -q -t 2 -d $$POSTGRES_DB -U $$POSTGRES_USER
start_period
:
20s
timeout
:
30s
interval
:
10s
retries
:
5
environment
:
POSTGRES_DB
:
netbox
POSTGRES_PASSWORD
:
Oquoo9ohwohpahy5
...
...
@@ -76,7 +78,7 @@ services:
-
netbox_database:/var/lib/postgresql/data
redis
:
image
:
redis:
6
-alpine
image
:
redis:
7
-alpine
command
:
-
sh
-
-c
...
...
@@ -85,7 +87,7 @@ services:
REDIS_PASSWORD
:
Choopike2aeBee1f
redis-cache
:
image
:
redis:
6
-alpine
image
:
redis:
7
-alpine
command
:
-
sh
-
-c
# this is to evaluate the $REDIS_PASSWORD from the env
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment