@@ -79,6 +79,7 @@ services:
79
79
- SUPERUSER_EMAIL=<SUPERUSER_EMAIL>
80
80
- SUPERUSER_PASSWORD=<SUPERUSER_PASSWORD>
81
81
- ALLOWED_HOST=<ALLOWED_HOST>
82
+ - BASE_PATH=<BASE_PATH>
82
83
- DB_NAME=<DB_NAME>
83
84
- DB_USER=<DB_USER>
84
85
- DB_PASSWORD=<DB_PASSWORD>
@@ -105,6 +106,7 @@ docker run -d \
105
106
-e SUPERUSER_EMAIL=<SUPERUSER_EMAIL> \
106
107
-e SUPERUSER_PASSWORD=<SUPERUSER_PASSWORD> \
107
108
-e ALLOWED_HOST=<ALLOWED_HOST> \
109
+ -e BASE_PATH=<BASE_PATH> \
108
110
-e DB_NAME=<DB_NAME> \
109
111
-e DB_USER=<DB_USER> \
110
112
-e DB_PASSWORD=<DB_PASSWORD> \
@@ -132,13 +134,14 @@ Container images are configured using parameters passed at runtime (such as thos
132
134
| ` -e PGID=1000 ` | for GroupID - see below for explanation |
133
135
| ` -e SUPERUSER_EMAIL=<SUPERUSER_EMAIL> ` | Username for admin account |
134
136
| ` -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) |
136
139
| ` -e DB_NAME=<DB_NAME> ` | Databaes name (optional, default: netbox) |
137
140
| ` -e DB_USER=<DB_USER> ` | Database user |
138
141
| ` -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) |
140
143
| ` -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) |
142
145
| ` -e REDIS_PORT=<REDIS_PORT> ` | Redis port number (optional, default: 6379) |
143
146
| ` -e REDIS_PASSWORD=<REDIS_PASSWORD> ` | Redis password (optional, default: none) |
144
147
| ` -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
252
255
253
256
## Versions
254
257
258
+ * ** 02.01.21:** - Added BASE_PATH environment variable.
255
259
* ** 23.08.20:** - Initial Release.
0 commit comments