mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
refactor: simplify setup by already adding folder
This commit is contained in:
@@ -47,13 +47,10 @@ get Elasticsearch to work.
|
|||||||
|
|
||||||
To start the database
|
To start the database
|
||||||
```sh
|
```sh
|
||||||
# create a directory for all data
|
# let the elasticsearch user and group be the owner of the folder
|
||||||
mkdir -p database
|
|
||||||
|
|
||||||
# let the database be the owner of the folder
|
|
||||||
chown 100:101 database
|
chown 100:101 database
|
||||||
|
|
||||||
# start the database
|
# start the database container
|
||||||
docker-compose up -d database
|
docker-compose up -d database
|
||||||
|
|
||||||
# have a look at the logs of the database
|
# have a look at the logs of the database
|
||||||
@@ -67,7 +64,7 @@ As stated in the `docker-compose.yml` the database will expose port `9200` to ot
|
|||||||
The backend is providing an interface to search and bulk index data into the database. Simply run:
|
The backend is providing an interface to search and bulk index data into the database. Simply run:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# start the backend
|
# start the backend container
|
||||||
docker-compose up -d backend
|
docker-compose up -d backend
|
||||||
|
|
||||||
# have a look at the logs of the backend
|
# have a look at the logs of the backend
|
||||||
|
|||||||
0
database/.gitkeep
Normal file
0
database/.gitkeep
Normal file
Reference in New Issue
Block a user