1
0
mirror of https://github.com/daniviga/bite.git synced 2024-12-23 08:41:24 +01:00

Minor README.md edit

This commit is contained in:
Daniele Viganò 2020-06-21 23:02:57 +02:00
parent b0fe12f594
commit d474dbe587
Signed by: dani
GPG Key ID: DB49AFC03C40EE02

View File

@ -51,9 +51,10 @@ The `$CUSTOM_DOCKER_IP` environment variable can be used to set a custom
IP address to bind ports. Default is `0.0.0.0`; `127.0.0.1` is a
safe configuration (see https://github.com/docker/compose/issues/2999).
### Development
### Development, using image code
```bash
docker-compose -f docker/docker-compose.yml build
docker-compose -f docker/docker-compose.yml up -d [--scale {bite,mqtt-to-db)=N]
```
It exposes:
@ -64,7 +65,7 @@ It exposes:
Django runs with `DEBUG = True` and `SKIP_WHITELIST = True`
### Development with direct access to services
### Development with direct access to services and autoreload
```bash
docker-compose -f docker/docker-compose.yml -f docker-compose.dev.yml up -d [--scale {bite,mqtt-to-db)=N]
@ -81,7 +82,7 @@ It exposes:
Django runs with `DEBUG = True` and `SKIP_WHITELIST = True`
### Production (kind of)
### Production (kind of...)
```bash
docker-compose -f docker/docker-compose.yml -f docker-compose.prod.yml up -d [--scale {bite,mqtt-to-db)=N]