Skip to content
Snippets Groups Projects
docker-compose-development.rendertron.yml 846 B
Newer Older
  • Learn to ignore specific revisions
  • Matthieu Benoist's avatar
    Matthieu Benoist committed
    version: "3.7"
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed
    
    services:
      rendertron:
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed
        build:
          context: ./docker/dev/
          dockerfile: Dockerfile-rendertron
    
        networks:
          - default
          - grandlyon
        labels:
          - "traefik.frontend.rule=Host:rendertron.data.grandlyon.docker"
          - "traefik.port=8083"
          - "traefik.protocol=http"
          - "traefik.docker.network=grandlyon"
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed
    
      proxy:
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed
        build:
          context: ./docker/dev/
          dockerfile: Dockerfile-nginx
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed
        volumes:
          - ./docker/dev/nginx-development-proxy.conf:/etc/nginx/conf.d/default.conf
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed
        labels:
    
          - "traefik.frontend.rule=Host:data.grandlyon.docker"
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed
          - "traefik.port=80"
    
          - "traefik.protocol=http"
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed
          - "traefik.docker.network=grandlyon"
        networks:
    
          default:
            aliases:
              - data.grandlyon.docker
          grandlyon:
    
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed
    
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed
    networks:
      grandlyon:
        external: true
    
    Matthieu Benoist's avatar
    Matthieu Benoist committed