mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-11 06:12:37 +00:00
Compare commits
6 commits
da5500dfd4
...
9a37cff689
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a37cff689 | ||
|
|
b329ab9e61 | ||
|
|
56e8af355e | ||
|
|
8c1a8a9ea6 | ||
|
|
68fd99c34a | ||
|
|
c8d766a95b |
|
|
@ -89,7 +89,7 @@ WORKDIR /opt/netbox/netbox
|
||||||
|
|
||||||
# Must set permissions for '/opt/netbox/netbox/media' directory
|
# Must set permissions for '/opt/netbox/netbox/media' directory
|
||||||
# to g+w so that pictures can be uploaded to netbox.
|
# to g+w so that pictures can be uploaded to netbox.
|
||||||
RUN mkdir -p static /opt/unit/state/ /opt/unit/tmp/ \
|
RUN mkdir -p static media /opt/unit/state/ /opt/unit/tmp/ \
|
||||||
&& chown -R unit:root /opt/unit/ media reports scripts \
|
&& chown -R unit:root /opt/unit/ media reports scripts \
|
||||||
&& chmod -R g+w /opt/unit/ media reports scripts \
|
&& chmod -R g+w /opt/unit/ media reports scripts \
|
||||||
&& cd /opt/netbox/ && SECRET_KEY="dummyKeyWithMinimumLength-------------------------" /opt/netbox/venv/bin/python -m mkdocs build \
|
&& cd /opt/netbox/ && SECRET_KEY="dummyKeyWithMinimumLength-------------------------" /opt/netbox/venv/bin/python -m mkdocs build \
|
||||||
|
|
|
||||||
|
|
@ -39,12 +39,9 @@ There is a more complete [_Getting Started_ guide on our wiki][wiki-getting-star
|
||||||
```bash
|
```bash
|
||||||
git clone -b release https://github.com/netbox-community/netbox-docker.git
|
git clone -b release https://github.com/netbox-community/netbox-docker.git
|
||||||
cd netbox-docker
|
cd netbox-docker
|
||||||
tee docker-compose.override.yml <<EOF
|
# Copy the example override file
|
||||||
services:
|
cp docker-compose.override.yml.example docker-compose.override.yml
|
||||||
netbox:
|
# Read and edit the file to your liking
|
||||||
ports:
|
|
||||||
- 8000:8080
|
|
||||||
EOF
|
|
||||||
docker compose pull
|
docker compose pull
|
||||||
docker compose up
|
docker compose up
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
django-auth-ldap==5.2.0
|
django-auth-ldap==5.2.0
|
||||||
dulwich==0.24.0
|
dulwich==0.24.1
|
||||||
python3-saml==1.16.0
|
python3-saml==1.16.0
|
||||||
--no-binary lxml
|
--no-binary lxml
|
||||||
--no-binary xmlsec
|
--no-binary xmlsec
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue