parent
b241523744
commit
44c07ade44
|
|
@ -63,7 +63,6 @@ db:
|
|||
MYSQL_PASSWORD: %%REPO%%
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
|
||||
MYSQL_DATABASE: %%REPO%%
|
||||
|
||||
```
|
||||
|
||||
Run `docker-compose up`, wait for it to initialize completely, and visit `http://localhost:8080` or `http://host-ip:8080`.
|
||||
|
|
|
|||
|
|
@ -51,8 +51,10 @@ N1QL is the SQL based query language for Couchbase Server. Simply switch to the
|
|||
|
||||
You can also execute N1QL queries from the command line. To run a query from command line query tool, run the cbq command line tool, authenticating using the credentials you provided to the wizard, and execute the N1QL Query on the beer-sample bucket
|
||||
|
||||
$ docker exec -it db cbq --user Administrator
|
||||
cbq> SELECT name FROM `beer-sample` WHERE brewery_id ="mishawaka_brewing";
|
||||
```console
|
||||
$ docker exec -it db cbq --user Administrator
|
||||
cbq> SELECT name FROM `beer-sample` WHERE brewery_id ="mishawaka_brewing";
|
||||
```
|
||||
|
||||
For more query samples, refer to [Run your first N1QL query](https://docs.couchbase.com/server/current/getting-started/try-a-query.html).
|
||||
|
||||
|
|
|
|||
|
|
@ -281,7 +281,6 @@ Under linux host machine, the easiest way is [Tuning guide](https://docs.emqx.io
|
|||
If you want tune linux kernel by docker, you must ensure your docker is latest version (>=1.12).
|
||||
|
||||
```bash
|
||||
|
||||
docker run -d --name emqx -p 18083:18083 -p 1883:1883 -p 4369:4369 \
|
||||
--sysctl fs.file-max=2097152 \
|
||||
--sysctl fs.nr_open=2097152 \
|
||||
|
|
@ -299,7 +298,6 @@ docker run -d --name emqx -p 18083:18083 -p 1883:1883 -p 4369:4369 \
|
|||
--sysctl net.ipv4.tcp_max_tw_buckets=1048576 \
|
||||
--sysctl net.ipv4.tcp_fin_timeout=15 \
|
||||
%%IMAGE%%:latest
|
||||
|
||||
```
|
||||
|
||||
> REMEMBER: DO NOT RUN EMQ X DOCKER PRIVILEGED OR MOUNT SYSTEM PROC IN CONTAINER TO TUNE LINUX KERNEL, IT IS UNSAFE.
|
||||
|
|
|
|||
|
|
@ -92,7 +92,6 @@ In this case, the `/path/to/my-adapters` folder has to be structured with the re
|
|||
+my_adapter_set_2
|
||||
...
|
||||
+my_adapter_set_N
|
||||
|
||||
```
|
||||
|
||||
### Building a new image
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ postgres=# SELECT 1;
|
|||
----------
|
||||
1
|
||||
(1 row)
|
||||
|
||||
```
|
||||
|
||||
## %%STACK%%
|
||||
|
|
|
|||
Loading…
Reference in New Issue