Commit Graph

5 Commits

Author SHA1 Message Date
Dandelion d4b95ca323
feat: support Cassandra with docker-compose in server (#2307)
## Main Changes

1. change the dockerfile, adding the shell to wait for storage backend and use a docker-entrypoint.sh to manage the starting process.
2. delete a deprecated class in  gremlin-console.sh (reference: [doc of ScriptExecutor](https://tinkerpop.apache.org/javadocs/3.2.3/full/org/apache/tinkerpop/gremlin/groovy/jsr223/ScriptExecutor.html))
3. add a healthy check in docker-compose
4. add an example folder where we can put all the template docker-compose.yml here
5. add `*swagger-ui*` in gitignore, which appears after you compile the source code locally.

---------

Co-authored-by: imbajin <jin@apache.org>
2023-10-23 16:29:42 +08:00
imbajin d968deb124
refact: use a slim way to build docker image on latest code & support zgc (#2118)
* also modify shell
2023-03-08 12:14:37 +08:00
青年 8abf3d5524
chore: support check license header with RAT & fill the gaps (#1988) 2022-10-26 19:43:41 +08:00
Simon Cheung b54fba6bd1
chore: bump Dockerfile SERVER_VERSION to 0.12.0 (#1901) 2022-06-25 17:58:52 +08:00
imbajin 67cfb6fa63
Add Dockerfile for server & studio (#845)
1. Add hosts to speed up image download
2. Modify some configs to enable the server to run better in container
3. Because Dockerfile doesn't allow multiple startup commands, currently only the server will be automatically started after the container is started. If you want to start studio, you can enter the container to start it.

Here is a simple container start command:
```bash
docker run -it --name=graph -p 18080:8080 -p 18088:8088 hugegraph:0.10 /bin/bash
```

1. Github-IP is not fixed, comment it now
2. For the convenience of users, the apt-source is not cleared by default.
2020-11-20 17:47:13 +08:00