Git Product home page Git Product logo

Comments (4)

shakyShane avatar shakyShane commented on September 2, 2024

@Robin31 do you know how we can incorporate these releases into CI?, I'm new to rust :)

from config-gen.

tdgroot avatar tdgroot commented on September 2, 2024

@shakyShane this is related to your issue #22. You could build on travis-ci on MacOS and Linux and then create a release. It's even possible to run docker containers within travis-ci if you want to have build environments for different Linux distributions.

from config-gen.

tdgroot avatar tdgroot commented on September 2, 2024

For now, I just pull in latest changes and run cargo build to build the application for my environment :).

from config-gen.

davidalger avatar davidalger commented on September 2, 2024

If anyone wants to run this from a container, I authored a Dockerfile to build this into one. Wouldn't take too much to convert the Dockerfile to build off Ubuntu (I used CentOS 7), just had to fork this and alter config-gen code in my branch to bind to 0.0.0.0 so the port forward will work: https://hub.docker.com/r/davidalger/config-gen/dockerfile

This is how I'm running the image in the context of a Warden orchestrated local environment:

version: "3.5"
services:
  config-gen:
    container_name: ${WARDEN_ENV_NAME}_config-gen
    image: davidalger/config-gen
    volumes:
    - ./etc:/etc/config-gen:ro
    ports:
    - 8888:8888
    command: >-
      --port 8888
      --seed /etc/config-gen/seed.json
      --config /etc/config-gen/config.yml
      https://${TRAEFIK_SUBDOMAIN}.${TRAEFIK_DOMAIN}/
    extra_hosts:
    ## This IP address should point at the IP of the traefik container:
    ##
    ##   docker container inspect traefik --format '{{.NetworkSettings.Networks.warden.IPAddress}}'
    ##
    - "${TRAEFIK_SUBDOMAIN}.${TRAEFIK_DOMAIN}:172.19.0.5"

networks:
  default:
    external: true
    name: warden

from config-gen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.