i beg
This commit is contained in:
parent
5f6eb650c8
commit
25704ba02e
@ -13,7 +13,7 @@ services:
|
|||||||
- 8000:8000
|
- 8000:8000
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration.py:/opt/netbox/netbox/netbox/configuration.py
|
- ./configuration.py:/opt/netbox/netbox/netbox/configuration.py
|
||||||
command: python manage.py runserver 0.0.0.0:8000 --insecure # COMMENT THIS LINE WHEN RUNNING IN PRODUCTION
|
command: python manage.py runserver 0.0.0.0:8000 --insecure # COMMENT THIS LINE AND REVERSE PROXYIN PRODUCTION !!!
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
@ -25,7 +25,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=netbox
|
- POSTGRES_DB=netbox
|
||||||
- POSTGRES_USER=netbox
|
- POSTGRES_USER=netbox
|
||||||
- POSTGRES_PASSWORD=even-confider-closable
|
- POSTGRES_PASSWORD=even-confider-closable # CHANGE THIS IN PRODUCTION !!
|
||||||
restart: always
|
restart: always
|
||||||
################################################
|
################################################
|
||||||
redis:
|
redis:
|
||||||
@ -35,6 +35,8 @@ services:
|
|||||||
- Use the sample `configuration.py` in this repo and edit it accordingly.
|
- Use the sample `configuration.py` in this repo and edit it accordingly.
|
||||||
- Run `docker compose up -d`
|
- Run `docker compose up -d`
|
||||||
|
|
||||||
|
## PLEASE, FOR THE LOVE OF GOD PLEASE DO NOT USE PASSWORD I GAVE IN THIS REPO IN PRODUCTION !!
|
||||||
|
|
||||||
## Some commands that will be useful
|
## Some commands that will be useful
|
||||||
- Migrate Database (required on initial install and upgrade
|
- Migrate Database (required on initial install and upgrade
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user