Comments (9)
Thank you that was the issue! The mysql IP address is 172.17.0.2
The website is up and running :)
from acweb.
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.
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.
You're welcome :)
from acweb.
Another question. Sorry.
When an AC server is launched, its it launched within the docker container or on the host machine?
from acweb.
Huh good question. The instance is started inside the docker image but reads the application data from the host machine.
from acweb.
So I need to to forward the docker server ports, same as the web port?
from acweb.
Yes you need to expose the game ports.
from acweb.
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)
- Add possibility to execute shell script from web GUI HOT 7
- Can't "save" acweb config via web interface - "Error 1054: Unknown column 'auth_plugin_address' in 'field list'" HOT 2
- Cant save configuration HOT 11
- Enhanced script management
- Update screenshots
- Port HOT 5
- typo config folder name HOT 5
- working directory issue
- typo on instance list
- Can't login to the interface HOT 20
- SOL: Custom weather-types HOT 1
- Config import not working HOT 3
- Add ability to add cars and tracks HOT 1
- hook to start acserver HOT 4
- Problem Install Panel web for acweb and accweb
- Server only binds to IPv6?
- Assist Rules Menu / no possibility to manually change criteria
- Cars and Tracks not appearing in the web interface Configurations page HOT 1
- Server can't find server_cfg.ini
- Webmin plugin?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acweb.