Giter Club home page Giter Club logo

Comments (9)

theouteredge avatar theouteredge commented on September 27, 2024 1

Thank you that was the issue! The mysql IP address is 172.17.0.2

The website is up and running :)

from acweb.

theouteredge avatar theouteredge commented on September 27, 2024 1

Fixed this, chmod for some reason didn't change the exe.
I'm all up and running, thanks for this btw, it works well :)

from acweb.

Kugelschieber avatar Kugelschieber commented on September 27, 2024

Have you looked at the log file? You can take a look at the docker image output by removing the -d option and adding -e ACWEB_LOGDIR= (empty) as well. It's most likely a database connection issue. I can run it on my machine (Ubuntu 16.04, MySQL running inside a container) like so:

sudo docker run -p 8077:8080 --rm --name acweb -e ACWEB_DB_USER=root -e ACWEB_DB_PASSWORD=root -e ACWEB_DB_HOST="tcp(172.17.0.1:3306)" -e ACWEB_DB=acweb -e ACWEB_LOGDIR= kugel/acweb

Notice the MySQL IP is set to the docker bridge IP. You can look it up by using ifconfig.

from acweb.

Kugelschieber avatar Kugelschieber commented on September 27, 2024

You're welcome :)

from acweb.

theouteredge avatar theouteredge commented on September 27, 2024

Another question. Sorry.

When an AC server is launched, its it launched within the docker container or on the host machine?

from acweb.

Kugelschieber avatar Kugelschieber commented on September 27, 2024

Huh good question. The instance is started inside the docker image but reads the application data from the host machine.

from acweb.

theouteredge avatar theouteredge commented on September 27, 2024

So I need to to forward the docker server ports, same as the web port?

from acweb.

Kugelschieber avatar Kugelschieber commented on September 27, 2024

Yes you need to expose the game ports.

from acweb.

theouteredge avatar theouteredge commented on September 27, 2024

Hi got everything almost setup

but when I try and start a server I get
level=error msg="Error starting instance" err="fork/exec /ac/acServer: permission denied"

I've tried
chmod 777 server

from acweb.

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.