SECRET_KEY_BASE is not required by development environment
This commit is contained in:
@@ -7,7 +7,6 @@ To run this container use following parameters:
|
|||||||
```bash
|
```bash
|
||||||
docker run -d --name snibox \
|
docker run -d --name snibox \
|
||||||
--volume /path/to/local/db:/app/db/database \
|
--volume /path/to/local/db:/app/db/database \
|
||||||
--env SECRET_KEY_BASE="<rails secret key>" \
|
|
||||||
--publish 80:3000 \
|
--publish 80:3000 \
|
||||||
snibox
|
snibox
|
||||||
```
|
```
|
||||||
@@ -18,4 +17,4 @@ After first run you probably will see error due to database hasn't been initiali
|
|||||||
docker exec -ti <container_id> rack db:migrate
|
docker exec -ti <container_id> rack db:migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
This will create new database instance and Snibox is ready to go.
|
This will create new database instance and Snibox is ready to go.
|
||||||
|
|||||||
Reference in New Issue
Block a user