├── TAG ├── REPOSITORY ├── Dockerfile ├── LICENSE └── README.md /TAG: -------------------------------------------------------------------------------- 1 | 201502.4 2 | -------------------------------------------------------------------------------- /REPOSITORY: -------------------------------------------------------------------------------- 1 | joaodubas/orientdb 2 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # orientdb 2 | # 3 | # VERSION: see `TAG` 4 | FROM joaodubas/openjdk:latest 5 | MAINTAINER Joao Paulo Dubas "joao.dubas@gmail.com" 6 | 7 | # install orientdb 8 | ENV ORIENTDB_VERSION orientdb-community-2.1.2 9 | ENV ORIENTDB_URL http://www.orientechnologies.com/download.php?email=unknown@unknown.com&file=${ORIENTDB_VERSION}.tar.gz&os=linux 10 | ENV ORIENTDB_ROOT_PASSWORD 0r13ntDB 11 | ADD ${ORIENTDB_URL} /usr/local/src/orientdb-community.tar.gz 12 | RUN cd /usr/local/src \ 13 | && tar -xzf orientdb-community.tar.gz \ 14 | && ln -s ${PWD}/${ORIENTDB_VERSION} ${PWD}/orientdb \ 15 | && ln -s ${PWD}/orientdb/bin/* /usr/local/bin/ \ 16 | && rm ${PWD}/orientdb-community.tar.gz \ 17 | && mkdir /usr/local/log 18 | 19 | # configure system 20 | EXPOSE 2424 21 | EXPOSE 2480 22 | CMD ["/usr/local/bin/server.sh"] 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 Joao Paulo Dubas 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OrientDB image 2 | 3 | Base image that exposes an [`orientdb`][orientdb] instance, in ports `2424` and 4 | `2480`, using the default root password _0r13ntDB_. 5 | 6 | ## Running 7 | 8 | To execute the image: 9 | 10 | ```bash 11 | docker run -d --name orientdb joaodubas/orientdb:latest 12 | ``` 13 | 14 | It's also possible to redirect `orientdb` ports: 15 | 16 | ```bash 17 | docker run -d --name orientdb -p 2424:2424 -p 2480:2480 joaodubas/orientdb:latest 18 | ``` 19 | 20 | To use another root password, redefine the environment variable 21 | `ORIENTDB_ROOT_PASSWORD`: 22 | 23 | ```bash 24 | docker run -d --name orientdb -e ORIENTDB_ROOT_PASSWORD=mysecurepassword joaodubas/orientdb:latest 25 | ``` 26 | 27 | 28 | ## LICENSE 29 | 30 | Copyright (c) 2014 Joao Paulo Dubas 31 | 32 | Permission is hereby granted, free of charge, to any person obtaining a copy 33 | of this software and associated documentation files (the "Software"), to deal 34 | in the Software without restriction, including without limitation the rights 35 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 36 | copies of the Software, and to permit persons to whom the Software is 37 | furnished to do so, subject to the following conditions: 38 | 39 | The above copyright notice and this permission notice shall be included in 40 | all copies or substantial portions of the Software. 41 | 42 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 43 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 44 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 45 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 46 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 47 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 48 | THE SOFTWARE. 49 | 50 | [orientdb]: http://www.orientechnologies.com/orientdb/ 51 | --------------------------------------------------------------------------------