Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit f30a7549 authored by Frederico SEQUEIRA's avatar Frederico SEQUEIRA
Browse files

:hammer: copy scripts to container and add location config

parent 6f303a54
No related branches found
No related tags found
1 merge request!140V3 custom script distribution
Pipeline #277572 passed
......@@ -7,6 +7,8 @@ COPY netbox_configuration/extra.py /etc/netbox/config/extra.py
COPY netbox_configuration/entrypoint.sh /usr/bin/netbox_plugin_entrypoint.sh
COPY netbox_custom_scripts/init_plugs.py /opt/netbox/netbox/scripts/init_plugs.py
COPY netbox_custom_scripts/netbox_roles_config.py /opt/netbox/netbox/scripts/netbox_roles_config.py
COPY netbox_custom_scripts/universal_init_data.py /opt/netbox/netbox/scripts/universal_init_data.py
RUN chown -R unit:root /opt/netbox/netbox/scripts/ & chmod -R 664 /opt/netbox/netbox/scripts/*
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN pip install -r /opt/netbox/plugins/requirements.txt
......
......@@ -19,6 +19,7 @@ EMAIL_USE_TLS=false
GRAPHQL_ENABLED=true
HOUSEKEEPING_INTERVAL=86400
MEDIA_ROOT=/opt/netbox/netbox/media
SCRIPTS_ROOT=/opt/netbox/netbox/scripts
METRICS_ENABLED=true
REDIS_CACHE_HOST=redis-cache
REDIS_CACHE_DATABASE=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment