summaryrefslogtreecommitdiffstats
path: root/Services/couchbase/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'Services/couchbase/README.md')
-rw-r--r--Services/couchbase/README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/Services/couchbase/README.md b/Services/couchbase/README.md
index dce4fb7..5f97eec 100644
--- a/Services/couchbase/README.md
+++ b/Services/couchbase/README.md
@@ -25,8 +25,8 @@ service:
CONTAINER_SERVICE: "couchbase"
CONTAINER_INSTANCE: "service-couchbase"
volumes:
- - "/tmp/container/logs/couchbase:/data/logs/couchbase"
- - "/tmp/container/couchbase:/data/couchbase"
+ - "/tmp/container/logs/couchbase:/logs"
+ - "/tmp/container/couchbase:/data"
```
## Docker-compose in various situations
@@ -69,7 +69,7 @@ CMD ["/bin/run.sh"]
| CONTAINER_TYPE | `string` | `no` | Container family (os, service, application. could be enhanced
| CONTAINER_SERVICE | `string` | `no` | Define the type of service or application provided
| HOSTNAME | `auto` | `auto` | Container unique id automatically assigned by docker daemon at startup
-| LOG_PATH | `auto` | `auto` | default set to /data/logs/couchbase and used as a volume mountpoint
+| LOG_PATH | `auto` | `auto` | default set to /logs and used as a volume mountpoint
## Exposed port
@@ -81,8 +81,8 @@ CMD ["/bin/run.sh"]
| Container directory | Description |
|----------------------|--------------------------------------------------------------------------|
-| /data/logs/couchbase | log directory used to record container and couchbase logs
-| /data/couchbase | data directory served by couchbase. If empty will be filled with app on startup. In other case use content from mountpoint or data volumes
+| /logs | log directory used to record container and couchbase logs
+| /data | data directory served by couchbase. If empty will be filled with app on startup. In other case use content from mountpoint or data volumes
## Testing the service
@@ -103,8 +103,8 @@ You must have a working environment with the source code of this repository. Rea
1. Jump into the container directory with `cd Services/couchbase`
2. Build the container using `docker build -t sv-couchbase .`
3. Run this container
- 1. Interactively with `docker run -p 11211:11211 -v /data/logs/couchbase -it sv-couchbase`. If you add a second parameter (like `/bin/bash`) to will run this command instead of the default entrypoint. Usefull to interact with this container (ex: `/bin/bash`, `/bin/ps -a`, `/bin/df -h`,...)
- 2. As a daemon with `docker run -p 11211:11211 -v /data/logs/couchbase -d sv-couchbase`
+ 1. Interactively with `docker run -p 11211:11211 -v /logs -it sv-couchbase`. If you add a second parameter (like `/bin/bash`) to will run this command instead of the default entrypoint. Usefull to interact with this container (ex: `/bin/bash`, `/bin/ps -a`, `/bin/df -h`,...)
+ 2. As a daemon with `docker run -p 11211:11211 -v /logs -d sv-couchbase`
### Build & run a container using `docker-compose`