Beiträge von Lewono

    Hi,

    da eine frage, wie kann ich dieses VLAN von aussen erreichen?

    Ich versuche ein K8S mit ein LB(MetalLB) einzurichten auf die vps die ueber dieses vlan verbunden waeren.

    hat jemand hierzu schon eine Erfahrung?

    Hello,

    I'm trying to apply on a VPS( with allocate domain name) a static webseite which is implemented in a docker image behind a proxy( refer to the attached image).

    hid.png

    I had this application running on a locale machine( without the domain name, only with ip addraess).

    The proxy(proxy and let's encrypt) is implemented over 2 separated image and link with a network with each other.

    port are map to the local machine accordingly.

    version: "3"

    services:
      nginx-proxy:
        image: jwilder/nginx-proxy
        container_name: nginx-proxy
        ports:
    - "80:80"
    - "443:443"
        volumes:
    - ./home/volumes/conf:/etc/nginx/conf.d
    - ./home/volumes/vhost:/etc/nginx/vhost.d
    - ./home/volumes/dhparam:/etc/nginx/dhparam
    - ./home/volumes/certs:/etc/nginx/certs:ro
    - /var/run/docker.sock:/tmp/docker.sock:ro
        networks:
    - proxy
        restart: always

      letsencrypt:
        image: jrcs/letsencrypt-nginx-proxy-companion
        container_name: nginx-proxy-le
        volumes_from:
    - nginx-proxy
        volumes:
    - ./home/myapplication/volumes/certs:/etc/nginx/certs:rw
    - /var/run/docker.sock:/var/run/docker.sock:ro
        restart: always

    networks:
      proxy:
        external: true
         name: 
    nginx-proxy

    the html webseite ist implemented in an nginx webserver and attached to the network.

    version: "3"

    services:
      app:
        image: nginx:alpine
        container_name: app
        expose:
    - 80
    - 443
        volumes:
    - ./home/mypikin/html:/usr/share/nginx/html:ro
        environment:
          VIRTUAL_HOST: myexample.com
          VIRTUAL_PORT: 80
          LETSENCRYPT_HOST: myexample.com
          LETSENCRYPT_EMAIL: email@mail.com
        networks:
    - nginx-proxy
        restart: unless-stopped

    networks:
      default:
        external: true
         name: 
    nginx-proxy

    Can we run docker on a VPS netcup server?

    is there specific settings needed on the domain to reach the server?

    Can someone help to understand why i cannot reach my webserver running on docker(image "app")?

    Thanks a lot.

    thanks