orion-server
orion-server copied to clipboard
Add a Dockerfile directly in the project
This allows to build automatically images from the source repo, and to offer pre-built images to users. After merging, you can add the repo to docker hub for automated building, like I did there : https://cloud.docker.com/repository/docker/cosme/orion-server This provides the best experience for users.
This should be ready to merge. The image is self contained and can be built on docker hub. Example : https://cloud.docker.com/repository/docker/cosme/orion-server
It can be deployed in compose like this : orion-server: restart: always image: cosme/orion-server environment: - DATABASE_HOST=orion-db - DATABASE_PORT=3306 - DATABASE_NAME=orion - DATABASE_USER=root - DATABASE_PASSWORD=orion depends_on: - orion-db
Or : docker run --restart always -e DATABASE_HOST=orion-db -e DATABASE_PORT=3306 -e DATABASE_NAME=orion -e DATABASE_USER=root -e DATABASE_PASSWORD=orion cosme/orion-server