docker-ebot's People
Forkers
tsktp jnettome guisevero vseth-geco guyht fun-alex-alex2006hw kikerechu kgns cuvelierm rlva hofnarrr fleshka1 counterstrafe stalkerino allenj12 lukasw1337 zoltanzseli vmajster npetersendk nehatjusufi physx-82 huckoder sumonst21 lockgar coolfool unyxosdocker-ebot's Issues
Update Docker image
Hi, is the Docker image up to date with the latest commit ? I'm trying to use the toornament API but i doesn't seem to work. Toornament recently updated to V2 and the ebot repo was updated accordingly and i was wondering if the docker image was also updated.
Cheers!
Docker <-> nginx/proxy reserved(subdomain?)
Hi,
Do you have worked to get "ebot" to running via subdomain of using "proxy reserved? - via ngix"?
I don't know, what i can do, for getting it works for:
- IP:8080 => ebotweb works fine there. (where it have sucessfull contact to the server!)
- ebot.domain => ebotweb works. but there is no "online" (Here where i'm using proxy reserved, where it don't contact the server!)
Maybe you have some idea, for about it will works via proxy-reserved on nginx for connection/using subdomain, without to use: http://real-IPAddress:8080
nginx proxyconfig:
# reverse proxy
location / {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_cache_bypass $http_upgrade;
proxy_set_header Accept-Encoding "";
proxy_pass_request_headers on;
}
}
ERR_CONNECTION_REFUSED
So I'm trying to setup ebot with docker the first time, installed docker changed the docker-composer.yml and started it.
Had to change the MySQL port from 3306 to 3406, because my server already have a database.
EBOT and EXTERNAL_IP with the public ip address and 127.0.0.1.
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d388b395a8ca hsfactory/ebotweb "/sbin/entrypoint.sh" 10 minutes ago Up 3 minutes 0.0.0.0:80->80/tcp ebot_ebotweb_1
e6a033a2e799 hsfactory/ebot "/sbin/entrypoint.sh" 10 minutes ago Up 10 minutes 0.0.0.0:12360-12361->12360-12361/tcp, 0.0.0.0:12360-12361->12360-12361/udp ebot_ebot_1
71d6222ef3a4 mysql:5.7 "docker-entrypoint.sā¦" 10 minutes ago Up 10 minutes 3306/tcp, 33060/tcp, 0.0.0.0:3406->3406/tcp ebot_mysql_1
netstat -lapute | grep docker
tcp6 0 0 [::]:12360 [::]:* LISTEN root 2106621286 7216/docker-proxy
tcp6 0 0 [::]:12361 [::]:* LISTEN root 2106615522 7191/docker-proxy
tcp6 0 0 [::]:3406 [::]:* LISTEN root 2106616423 7015/docker-proxy
tcp6 0 0 [::]:http [::]:* LISTEN root 2106621319 7254/docker-proxy
udp6 0 0 [::]:12360 [::]:* root 2106619220 7229/docker-proxy
udp6 0 0 [::]:12361 [::]:* root 2106620332 7204/docker-proxy
I also tried to search logs, but only get a respond from the mysql container.
docker logs ebot_ebotweb_1 or docker logs d388b395a8ca
docker logs ebot_ebot_1 or docker logs e6a033a2e799
I searched also in the /opt/docker/ebot/logs directory = empty
If I try to go on the website http://$hostname/admin.php I just get a ERR_CONNECTION_REFUSED
any ideas?
Is there a good way to configure maps?
Can environment variables be used to modify this section? https://github.com/deStrO/eBot-CSGO/blob/master/config/config.ini.smp#L35-L49
AutoFill CONTAINER_IP
i wish a proposed in entrypoint.sh change the external container_ip to
CONTAINER_IP=$(curl ifconfig.co)
this way the container will get this automagicaly the extenal ip
eBot mySQL (docker)
Hi @jffz
Do you have some idea/tips for remote connection allow on docker's IP?
2018-10-27T10:19:45.856978Z 3 [Note] Access denied for user 'ebotv3'@'172.17.0.3' (using password: YES)
2018-10-27T10:19:45.938861Z 4 [Note] Access denied for user 'ebotv3'@'172.17.0.3' (using password: YES)
As example. ^^_^^
What can i do?
Mysql can't connect to database ebotv3
Hi !
Here is my docker-compose.yml file, am i doing it wrong ?
It was running fine till I made the docker-compose pull.
`ebot:
image: hsfactory/ebot
restart: always
links:
- "mysql:mysql"
ports:
- "12360:12360"
- "12361:12361"
- "12360:12360/udp"
- "12361:12361/udp"
volumes:
- /opt/docker/ebot/logs:/ebot/logs
- /opt/docker/ebot/demos:/ebot/demos
environment:
EXTERNAL_IP: '192.168.1.44'
MYSQL_HOST: 'mysql'
MYSQL_PORT: '3306'
MYSQL_DB: 'ebotv3'
MYSQL_USER: 'ebotv3'
MYSQL_PASS: 'ebotv3'
LO3_METHOD: 'restart'
KO3_METHOD: 'restart'
DEMO_DOWNLOAD: 'true'
REMIND_RECORD: 'false'
DAMAGE_REPORT: 'true'
DELAY_READY: 'false'
NODE_STARTUP_METHOD: 'node'
TOORNAMENT_PLUGIN_KEY: ''
ebotweb:
image: hsfactory/ebotweb
restart: always
links:
- "mysql:mysql"
ports:
- "80:80"
volumes:
- /opt/docker/ebot/demos:/opt/ebot/demos
- /opt/docker/ebot/logs:/opt/ebot/logs
environment:
EBOT_IP: '192.168.1.44'
EBOT_PORT: '12360'
EBOT_ADMIN_USER: 'admin'
EBOT_ADMIN_PASS: 'password'
EBOT_ADMIN_MAIL: ''
MYSQL_HOST: 'mysql'
MYSQL_PORT: '3306'
MYSQL_DB: 'ebotv3'
MYSQL_USER: 'ebotv3'
MYSQL_PASS: 'ebotv3'
DEMO_DOWNLOAD: 'true'
TOORNAMENT_ID: ''
TOORNAMENT_SECRET: ''
TOORNAMENT_API_KEY: ''
TOORNAMENT_PLUGIN_KEY: ''
mysql:
image: mysql
restart: always
volumes:
- /opt/docker/ebot/mysql:/var/lib/mysql
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_DATABASE=ebotv3
- MYSQL_USER=ebotv3
- MYSQL_PASSWORD=ebotv3
- MYSQL_ROOT_PASSWORD=ebotv3
- MYSQL_ROOT_HOST=%
command: mysqld --sql_mode="NO_ENGINE_SUBSTITUTION"`
LICENSE file?
Hey! I was wondering if this project was OSS software? If yes, please, choose a license!
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.