|
@@ -27,7 +27,7 @@ sudo docker-compose build
|
|
|
```
|
|
|
or with args for groups and users
|
|
|
```
|
|
|
-docker-compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g) --build-arg UNAME=$(id -un) --build-arg GNAME=$(id -gn)
|
|
|
+docker-compose build --no-cache --build-arg UID=$(id -u) --build-arg GID=$(id -g) --build-arg UNAME=$(id -un) --build-arg GNAME=$(id -gn) [client | basex]
|
|
|
```
|
|
|
### run
|
|
|
then each time you want to launch the app
|
|
@@ -70,6 +70,18 @@ or rebuild if data was updated
|
|
|
```
|
|
|
docker-compose up -d --build
|
|
|
```
|
|
|
+or
|
|
|
+```
|
|
|
+docker-compose build --no-cache [client | basex]
|
|
|
+docker-compose up -d [client | basex]
|
|
|
+```
|
|
|
+
|
|
|
+## Prod
|
|
|
+run containers for prod
|
|
|
+```docker-compose -f docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d```
|
|
|
+client will be built the client container stop
|
|
|
+basex container will stay up
|
|
|
+you have to serve client/dist/index.html with your own webserver (e.g. nginx, apache, etc)
|
|
|
|
|
|
## Doc
|
|
|
|