@@ -79,6 +79,7 @@ services:
7979 - SUPERUSER_EMAIL=<SUPERUSER_EMAIL>
8080 - SUPERUSER_PASSWORD=<SUPERUSER_PASSWORD>
8181 - ALLOWED_HOST=<ALLOWED_HOST>
82+ - BASE_PATH=<BASE_PATH>
8283 - DB_NAME=<DB_NAME>
8384 - DB_USER=<DB_USER>
8485 - DB_PASSWORD=<DB_PASSWORD>
@@ -105,6 +106,7 @@ docker run -d \
105106 -e SUPERUSER_EMAIL=<SUPERUSER_EMAIL> \
106107 -e SUPERUSER_PASSWORD=<SUPERUSER_PASSWORD> \
107108 -e ALLOWED_HOST=<ALLOWED_HOST> \
109+ -e BASE_PATH=<BASE_PATH> \
108110 -e DB_NAME=<DB_NAME> \
109111 -e DB_USER=<DB_USER> \
110112 -e DB_PASSWORD=<DB_PASSWORD> \
@@ -132,13 +134,14 @@ Container images are configured using parameters passed at runtime (such as thos
132134| ` -e PGID=1000 ` | for GroupID - see below for explanation |
133135| ` -e SUPERUSER_EMAIL=<SUPERUSER_EMAIL> ` | Username for admin account |
134136| ` -e SUPERUSER_PASSWORD=<SUPERUSER_PASSWORD> ` | Password for admin account |
135- | ` -e ALLOWED_HOST=<ALLOWED_HOST> ` | The hostname you will use to access the app (i.e., netbox.example.com |
137+ | ` -e ALLOWED_HOST=<ALLOWED_HOST> ` | The hostname you will use to access the app (i.e., netbox.example.com) |
138+ | ` -e BASE_PATH=<BASE_PATH> ` | The path you will use to access the app (i.e., /netbox, optional, default: none) |
136139| ` -e DB_NAME=<DB_NAME> ` | Databaes name (optional, default: netbox) |
137140| ` -e DB_USER=<DB_USER> ` | Database user |
138141| ` -e DB_PASSWORD=<DB_PASSWORD> ` | Database password |
139- | ` -e DB_HOST=<DB_HOST> ` | Database post (optional, default: postgres |
142+ | ` -e DB_HOST=<DB_HOST> ` | Database post (optional, default: postgres) |
140143| ` -e DB_PORT=<DB_PORT> ` | Database port (optional) |
141- | ` -e REDIS_HOST=<REDIS_HOST> ` | Redis host (optional, default: redis |
144+ | ` -e REDIS_HOST=<REDIS_HOST> ` | Redis host (optional, default: redis) |
142145| ` -e REDIS_PORT=<REDIS_PORT> ` | Redis port number (optional, default: 6379) |
143146| ` -e REDIS_PASSWORD=<REDIS_PASSWORD> ` | Redis password (optional, default: none) |
144147| ` -e TZ=<TZ> ` | Timezone (i.e., America/New_York) |
@@ -252,4 +255,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
252255
253256## Versions
254257
258+ * ** 02.01.21:** - Added BASE_PATH environment variable.
255259* ** 23.08.20:** - Initial Release.
0 commit comments