Tobias Genannt
9441be459c
Improved testing
...
After the initializer scripts were removed, we didn't test the actual compose setup anymore. This adds new tests to run the database migrations.
2022-11-30 10:54:24 +01:00
renovate[bot]
a4f494db14
Update postgres Docker tag to v15
2022-11-11 14:24:44 +00:00
Tobias Genannt
da412e3bdb
Removed unnecessary logging from tests
2022-08-31 14:05:34 +02:00
Tobias Genannt
6f1d46d765
Initializers are now a plugin
2022-08-30 16:01:43 +02:00
Renovate Bot
184ff72912
Update dependency redis to v7
2022-06-09 06:12:46 +00:00
Renovate Bot
d4081c15e1
Update postgres Docker tag to v14
2021-10-19 12:25:17 +00:00
Tobias Genannt
5679ab435f
Use user name instead of userid
...
Nginx unit needs the user and group parameter as names.
2021-09-24 08:16:07 +02:00
Tobias Genannt
a8b6883183
Changed entrypoint to "tini".
2021-09-13 08:51:23 +02:00
Renovate Bot
49b7c267b9
Update postgres Docker tag to v13
2021-05-18 08:03:10 +00:00
Christian Mäder
f810d0342d
Skip Startup Scripts in Unit Tests
2021-01-20 09:36:13 +01:00
Tobias Genannt
d273391773
Gunicorn is replaced with nginx-unit
...
We now serve Netbox with an nginx-unit instance instead of Gunicorn.
This allows us to get rid of the extra Nginx container because Unit is
also serving the static files. The static files are now collected at container
buildtime instead of every startup.
2021-01-15 09:22:22 +01:00
Tobias Genannt
74833a9b21
Update images in docker-compose
2020-09-01 13:34:42 +02:00
Tobias Genannt
20c7461c7b
Fixed test failures because of missing cache
...
When running tests with ´test.sh´ some errors where logged because now
redis-cache instance was running.
2020-02-14 12:38:05 +01:00
Christian Mäder
3b56c827f9
Improve test.sh
...
Don't move the original initializers directory, but rather use the one
with the modified initializers in it.
2020-01-17 17:23:15 +01:00
Christian Mäder
b118cd5812
Building the Docker image with Github Actions
2019-12-23 18:21:08 +01:00
thde
5e0b0a608b
use docker-compose.yml instead of docker-compose.test.yml
2018-06-28 09:59:59 +02:00
thde
0d8e719675
add initializers to specs
2018-06-28 09:44:07 +02:00
Tobias Genannt
b46bd58e0a
Move config to /etc/netbox/config ( Fixes #54 )
...
With this the configuration is moved to /etc/netbox/config and the
default reports directory is set to /etc/netbox/reports. This enables
the user to mount reports from a config map or persistent volume in
OpenShift.
2018-04-04 10:13:30 +02:00
Tobias Genannt
ef76e4e8ea
Modifications for Openshift
...
With these modifications the netbox containers can run on Openshift.
The configuration files can be imported from a config map to the
'/etc/netbox' directory and will be loaded from there.
2018-02-22 17:22:04 +01:00
Christian Mäder
ba2b49339f
⬆️ Updates Dependencies
...
* Postgres 9.6 -> 10.2
* Nginx 1.11 -> 1.13
2018-02-16 10:34:33 +01:00
Christian Mäder
bd9298e668
❇️ Make the default configuration cluster ready
...
This changes the default configuration to be better prepared for
usage with container management platforms, such as Docker Swarm,
Kubernetes or OpenShift.
Closes #27 .
2017-12-14 12:53:19 +01:00
misazr
de9b6a853d
🐳 Extracted postgres env into new file
2017-08-30 12:12:17 +02:00
Christian Mäder
f9d60692f4
🐳 Adds a sample on how to run netbox tests
2017-08-30 11:10:55 +02:00