Giter Club home page Giter Club logo

Comments (3)

victor-rds avatar victor-rds commented on August 30, 2024

Sadly MySQL and MariaDB are not officially supported by the Etebase Server, there is an open issue on the etebase repository.

etesync/server#69

from docker-etebase.

victor-rds avatar victor-rds commented on August 30, 2024

Another question was, the docker would potentially give an error if it's above 1024 (or maybe I read it incorrectly)? MySQL typically runs on 3306, is there a good way to handle this?

Sorry but I didn't understand this, but you can and should listen on ports 1024 and above, ports 0 to 1023 are privileged ports only process running with superuser permissions listen to them.

My image does not run as root (unless you force it), by default most databases uses unprivileged users, postgres por example uses the 5432 TCP port .

from docker-etebase.

victor-rds avatar victor-rds commented on August 30, 2024
if [ "${PORT}" -lt "1024" ] && [ "${C_UID}" -ne '0' ]; then
    dckr_error "Only root can use ports below 1024"
fi

If you talking about the code above, this is about the port used by the etebase server, not the port for database communications, and as stated previously the error only happens if you try to use ports below 1024 with an unprivileged user

from docker-etebase.

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.