Jump to content

apcs41

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by apcs41

  1. Hi, I'm looking for some assistance, I'm sure it's my understanding of docker that's the problem here. I'm trying to create a docker template for Mysterium Networks 

    see: https://my.mysterium.network/node-running-guide/docker-guide

     

     Iv'e configured port forwarding to forward the necessary ports to my unraid server & the following command works & everything works 

    docker run --cap-add NET_ADMIN -p 4449:4449 -p 25007:25007/udp \
     --rm --name myst \
     -v $YOUR_MYSTERIUM_DIR:/var/lib/mysterium-node \
     mysteriumnetwork/myst \
     --experiment-natpunching=false \
     service \
     --agreed-terms-and-conditions \
     --openvpn.port=25007

    My problem is translating this to an unraid template while not really understanding how it all works. My docker tem
    plate runs & I can access the web GUI on port 4449 but the openvpn port does not seem to work 

    under extra parameters I added:

    --cap-add NET_ADMIN -p 4449:4449 -p 25007:25007/udp

    & for post arguments i added:

    --experiment-natpunching=false service --agreed-terms-and-conditions --openvpn.port=25007

     

     

    the command generated by unraid is:

    /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='mysterium' --net='host' --privileged=true -e TZ="Europe/London" -e HOST_OS="Unraid" -v '/mnt/user/appdata/mysterium/':'/var/lib/mysterium-node':'rw' --cap-add NET_ADMIN -p 4449:4449 -p 25007:25007/udp 'mysteriumnetwork/myst:latest' --experiment-natpunching=false service --agreed-terms-and-conditions --openvpn.port=25007

     

    Here is the content or my docker template:

    <?xml version="1.0"?>
    <Container version="2">
      <Name>mysterium</Name>
      <Repository>mysteriumnetwork/myst:latest</Repository>
      <Registry>https://hub.docker.com/r/mysteriumnetwork/mysterium-node/</Registry>
      <Network>host</Network>
      <MyIP/>
      <Shell>sh</Shell>
      <Privileged>true</Privileged>
      <Support/>
      <Project/>
      <Overview>Something here</Overview>
      <Category/>
      <WebUI>http://[IP]:[PORT:4449]/</WebUI>
      <TemplateURL/>
      <Icon>https://avatars2.githubusercontent.com/u/23056638?s=200&amp;amp;v=4</Icon>
      <ExtraParams>--cap-add NET_ADMIN -p 4449:4449 -p 25007:25007/udp</ExtraParams>
      <PostArgs>--experiment-natpunching=false service --agreed-terms-and-conditions --openvpn.port=25007</PostArgs>
      <CPUset/>
      <DateInstalled>1595847980</DateInstalled>
      <DonateText/>
      <DonateLink/>
      <Description>Something here</Description>
      <Networking>
        <Mode>host</Mode>
        <Publish/>
      </Networking>
      <Data>
        <Volume>
          <HostDir>/mnt/user/appdata/mysterium/</HostDir>
          <ContainerDir>/var/lib/mysterium-node</ContainerDir>
          <Mode>rw</Mode>
        </Volume>
      </Data>
      <Environment/>
      <Labels/>
      <Config Name="Data Path" Target="/var/lib/mysterium-node" Default="/mnt/user/appdata/mysterium/" Mode="rw" Description="Container Path: /var/lib/mysterium-node" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/mysterium/</Config>
    </Container>

    Here's hoping someone with more experience than myself can offer some input. Any & all advice would be greatly appreciated.

×
×
  • Create New...