1. 12 Aug, 2019 1 commit
  2. 10 Aug, 2019 1 commit
  3. 09 Aug, 2019 1 commit
  4. 08 Aug, 2019 1 commit
  5. 04 Aug, 2019 1 commit
  6. 27 Jul, 2019 2 commits
  7. 23 Jul, 2019 2 commits
  8. 20 Jul, 2019 1 commit
  9. 14 Jul, 2019 1 commit
  10. 13 Jul, 2019 3 commits
  11. 07 Jul, 2019 2 commits
  12. 29 Jun, 2019 1 commit
  13. 22 Jun, 2019 1 commit
  14. 20 Jun, 2019 3 commits
  15. 19 Jun, 2019 1 commit
  16. 18 Jun, 2019 1 commit
    • xzxiaoshan's avatar
      support passing database, meta server info via system environment · 3bfed3c8
      xzxiaoshan authored
      docker-compose.yml sample:
      ------------------------------------------------------------------------------------------
      version: '3'
      services:
        apollo-portal:
          image: docker.io/xzxiaoshan/apollo-portal:1.4.0
          container_name: apollo-portal
          network_mode: "host"
          environment:
            SERVER_PORT: 5555
            # DataSource Info
            DS_URL: "jdbc:mysql://pro.shanhy.com:3306/ApolloPortalDB?characterEncoding=utf8"
            DS_USERNAME: "shanhy"
            DS_PASSWORD: "xzxiaoshan@123"
            # Environmental variable declaration (meta server url, different environments should have different meta server addresses)
            DEV_META: "http://dev.shanhy.com:6666"
            FAT_META: ""
            UAT_META: ""
            LPT_META: ""
            PRO_META: "http://pro.shanhy.com:6666"
          depends_on:
            - apollo-adminservice
          logging:
            driver: "json-file"
            options:
              max-size: "200k"
              max-file: "10"
      
        apollo-configservice:
          image: docker.io/xzxiaoshan/apollo-configservice:1.4.0
          container_name: apollo-configservice
          network_mode: "host"
          environment:
            SERVER_PORT: 6666
            # DataSource Info
            DS_URL: "jdbc:mysql://pro.shanhy.com:3306/ApolloPortalDB?characterEncoding=utf8"
            DS_USERNAME: "shanhy"
            DS_PASSWORD: "xzxiaoshan@123"
          logging:
            driver: "json-file"
            options:
              max-size: "200k"
              max-file: "10"
      
        apollo-adminservice:
          image: docker.io/xzxiaoshan/apollo-adminservice:1.4.0
          container_name: apollo-adminservice
          network_mode: "host"
          environment:
            SERVER_PORT: 6667
            # DataSource Info
            DS_URL: "jdbc:mysql://pro.shanhy.com:3306/ApolloPortalDB?characterEncoding=utf8"
            DS_USERNAME: "shanhy"
            DS_PASSWORD: "xzxiaoshan@123"
          depends_on:
            - apollo-configservice
          logging:
            driver: "json-file"
            options:
              max-size: "200k"
              max-file: "10"
      3bfed3c8
  17. 15 Jun, 2019 2 commits
    • Jason Song's avatar
      add known user · b84f5b3f
      Jason Song authored
      b84f5b3f
    • xzxiaoshan's avatar
      support setting server port from enviroment variables · 46ed5271
      xzxiaoshan authored
      1.将服务端口提取到docker run的 -e SERVER_PORT 可指定,在docker需要使用host网络时,可以不用修改代码指定端口,避免与宿主机上的原有端口占用冲突 (#2333)
      
      2.对docker CMD入口的startup.sh文件,增加可执行授权指令,防止在某些时候该文件被打包进入后没有执行权限的麻烦(已实际遇到,又回头重新打包)
      46ed5271
  18. 11 Jun, 2019 1 commit
  19. 09 Jun, 2019 2 commits
  20. 08 Jun, 2019 1 commit
  21. 07 Jun, 2019 4 commits
  22. 03 Jun, 2019 1 commit
  23. 01 Jun, 2019 1 commit
  24. 28 May, 2019 1 commit
  25. 25 May, 2019 2 commits
  26. 23 May, 2019 1 commit
  27. 21 May, 2019 1 commit