Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cebrailinanc/spring-couchbase-demo
https://github.com/cebrailinanc/spring-couchbase-demo
couchbase gradle hexagonal-architecture multi-module-project spring-boot
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cebrailinanc/spring-couchbase-demo
- Owner: cebrailinanc
- Created: 2021-05-04T16:57:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-12T18:25:31.000Z (over 3 years ago)
- Last Synced: 2024-03-05T08:55:36.941Z (10 months ago)
- Topics: couchbase, gradle, hexagonal-architecture, multi-module-project, spring-boot
- Language: Java
- Homepage:
- Size: 71.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
`docker run -d --name couchbase-instance -p 8091-8094:8091-8094 -p 11210:11210 couchbase`
http://localhost:8091
build image command
`docker build -t spring-couchbase-demo .`
We can see our image listed with the command:
`docker images `run couchbase server
`docker run -d --name couchbase-instance -p 8091-8094:8091-8094 -p 11210:11210 couchbase`run app image
`docker run -p 1234:8080 -d spring-couchbase-demo`
# -p : < container expose port>http://localhost:1234/swagger-ui.html
docker network rm couchbase-networkdocker network ls
`docker network create "cb-network"`
`docker run --net="cb-network" --name couchbase-instance -p 8091-8094:8091-8094 -p 11210:11210 couchbase`
`docker run --net="cb-network" -p 1234:8080 -d spring-couchbase-demo --name spring-couchbase-demo`
docker network inspect cb-network