All Projects → chenchuxin → apollo-docker

chenchuxin / apollo-docker

Licence: GPL-3.0 license
Apollo阿波罗配置中心docker

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to apollo-docker

apollo.net
Apollo配置中心.Net客户端
Stars: ✭ 449 (+1852.17%)
Mutual labels:  apollo, configuration
Apollo.net
Apollo配置中心.Net客户端
Stars: ✭ 165 (+617.39%)
Mutual labels:  apollo, configuration
profig
Powerful configuration management for Scala (JSON, properties, command-line arguments, and environment variables)
Stars: ✭ 25 (+8.7%)
Mutual labels:  configuration
laravel-conditional-providers
THIS PACKAGE HAS BEEN DEPRECATED — Load Laravel service providers and facades based on the current environment.
Stars: ✭ 26 (+13.04%)
Mutual labels:  configuration
arkenv
Type-safe Kotlin configuration by delegates
Stars: ✭ 15 (-34.78%)
Mutual labels:  configuration
config-loader
[DEPRECATED] A loader for webpack configuration files
Stars: ✭ 14 (-39.13%)
Mutual labels:  configuration
kontent-boilerplate-express-apollo
Kontent Boilerplate for development of Express application using Apollo server and GraphQL.
Stars: ✭ 21 (-8.7%)
Mutual labels:  apollo
apollo-datasource-firestore
An Apollo DataSource for Firestore
Stars: ✭ 28 (+21.74%)
Mutual labels:  apollo
graphql-fundamentals
A training repo for learning basic concepts in GraphQL on the client and server
Stars: ✭ 15 (-34.78%)
Mutual labels:  apollo
animated-tailwindcss
A configuration to use Animate.css with Tailwind CSS.
Stars: ✭ 75 (+226.09%)
Mutual labels:  configuration
Manuals-and-Tutorials
Manuals about everything I work with
Stars: ✭ 15 (-34.78%)
Mutual labels:  configuration
react-storefront
An open-source storefront in React.js with Next.js. Built for Headless Commerce, using a modern stack with TypeScript, GraphQL, Apollo, and Tailwind CSS.
Stars: ✭ 265 (+1052.17%)
Mutual labels:  apollo
ha-config-ataraxis
My Home Assistant Configs. If you like what you see, please ⭐️my repo. It would encourage me a lot 🤘
Stars: ✭ 146 (+534.78%)
Mutual labels:  configuration
hoc-element-table
📦 A Vue 3.x Table Component built on Webpack 5
Stars: ✭ 26 (+13.04%)
Mutual labels:  configuration
neovim-config
Modern NeoVim config for IDE-like development
Stars: ✭ 89 (+286.96%)
Mutual labels:  configuration
cookiecutter-django-herokuapp
A cookiecutter template for creating Django 1.7+ / Python 3 projects quickly, thought optimized for Heroku in the meantime.
Stars: ✭ 20 (-13.04%)
Mutual labels:  configuration
meteor-apollo2
An example showing how to use Apollo 2.0 with GraphQL server + subscriptions
Stars: ✭ 20 (-13.04%)
Mutual labels:  apollo
react-ssr-apollo-boilerplate
A boilerplate for React with SSR using GraphQL and Apollo
Stars: ✭ 19 (-17.39%)
Mutual labels:  apollo
dotfiles
Dotfiles repo
Stars: ✭ 12 (-47.83%)
Mutual labels:  configuration
puter
Setting up a computer is annoying so let's automate it.
Stars: ✭ 13 (-43.48%)
Mutual labels:  configuration

Apollo配置中心docker

说明

  • 此项目为Apollo的非官方docker
  • 镜像中并未包含mysql,mysql搭建参照官方文档。有空写个快速搭建apollo mysql的镜像

使用方法

  • 镜像中包含configservice、adminservice、portal,默认configservice。如要更改成adminservice,则在运行参数中添加对应xxx.jar,如下
docker run chenchuxin/apollo adminservice.jar
  • 要修改配置直接用环境变量,例如
docker run \
-e spring_datasource_url=jdbc:mysql://localhost:3306/ApolloConfigDB?characterEncoding=utf8 \
-e spring_datasource_username=ccx \
chenchuxin/apollo
  • 一个比较完整的例子
docker run \
-e spring_datasource_url=jdbc:mysql://localhost:3306/ApolloConfigDB?characterEncoding=utf8 \
-e spring_datasource_username=root \
-e spring_datasource_password=xxx \
-e server.port=8080 \
-e logging.file=/opt/logs/configservice.log \
-v /opt/logs:/var/log/apollo \
--network host \
--restart always \
--name apollo_configservice \
chenchuxin/apollo \
configservice.jar
  • 项目提供了简单的docker-compose.yml,修改成一下配置即可用
docker-compose up -d

注意

portal设置meta_server的时候,不要用环境变量设置,在运行参数用-D设置,如

docker run chenchuxin/apollo -Ddev_meta=http://localhost:8080 portal.jar
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].