This is an unofficial Docker image for Orange distribution.
API Gateway based on OpenResty.
First, orange requires a running mysql cluster before it starts. You can either use the official MySQL containers, or use your own.
- Run a MySQL container
docker run --name orange-database -e MYSQL_ROOT_PASSWORD=your_root_pwd -p 3306:3306 mysql:5.7
- Create orange user and grant privileges
CREATE DATABASE orange;
CREATE USER 'orange'@'%' IDENTIFIED BY 'orange';
GRANT ALL PRIVILEGES ON orange.* TO 'orange'@'%';
-
Import the initial data from a database dump.
-
Link orange to this MySQL container
docker run -d --name orange \
--link orange-database:orange-database \
-p 7777:7777 \
-p 8888:8888 \
-p 9999:9999 \
--security-opt seccomp:unconfined \
syhily/orange
Access orange dashboard (Default Username: admin, Default Password: orange_admin)
docker exec -it orange orange reload
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.