Comments (8)
I had the same issue.
-
Login to the container:
docker exec -it kodingdockercompose_koding_1 bash
-
Go to the config dir:
root@23597a836aa5:/opt/koding# cd config
-
List all files containing dev.koding.com:
root@23597a836aa5:/opt/koding/config# grep -ri dev.koding.com .
Should return:
./generateKonfig.coffee: 'dev.koding.com' : '127.0.0.1'
./main.default.coffee: main: options.host ? 'dev.koding.com'
./main.default.coffee: options.hostname or= "dev.koding.com"
./credentials.default.coffee: redirectUri: 'http://dev.koding.com:8090/-/oauth/github/callback'
./credentials.default.coffee: redirectUri: "http://dev.koding.com:8090/-/oauth/facebook/callback"
./credentials.default.coffee: redirect_uri: "http://dev.koding.com:8090/-/oauth/google/callback"
./credentials.default.coffee: redirect_uri: "http://dev.koding.com:8090/-/oauth/twitter/callback"
./credentials.default.coffee: redirect_uri: "http://dev.koding.com:8090/-/oauth/linkedin/callback"
./main.dev.coffee: main: options.host ? 'dev.koding.com'
./main.dev.coffee: options.hostname or= "dev.koding.com"
- Edit each file and replace dev.koding.com with your host.
tips for vi:
:%s/dev.koding.com/localhost/g
:wq
root@23597a836aa5:/opt/koding/config# vi ./generateKonfig.coffee
root@23597a836aa5:/opt/koding/config# vi ./main.default.coffee
root@23597a836aa5:/opt/koding/config# vi ./credentials.default.coffee
root@23597a836aa5:/opt/koding/config# vi ./main.dev.coffee
- Now you shouldn't see any dev.koding.com:
root@23597a836aa5:/opt/koding/config# grep -ri dev.koding.com .
root@23597a836aa5:/opt/koding/config#
- Exit the container:
root@23597a836aa5:/opt/koding/config# exit
exit
- Restart the stack
docker-compose restart
now I have localhost on the screen and no crash :)
from koding.
You need to add in the docker-compose.yml
at the 6th line (command
):
--hostname
for the main domain--host
for the domain of the instance (the API will communicate with it)
Example:
command: --version master --hostname example.org --host koding.example.org
from koding.
i dont know yet im completely new in docker and have no experience
from koding.
the same issue, anyone help ?
from koding.
you can change the config using
docker exec -it koding-docker-compose_koding_1 bash
from koding.
Which file please ?
from koding.
Guys, any luck on this?
from koding.
I changed the host and hostname as @unixfox suggested and it worked!
But the koding service still try to connect to koding.mydomain.com/kontrol/kite and fail.
It try to reconnect infinitely and I'm stuck in the stack initialize, when i check the access token for a digital ocean stack it goes in timeout.
from koding.
Related Issues (20)
- Unable to authenticate to aws HOT 4
- KD demon install / start fails when installing via WSL (ubuntu) - Enable Koding on Windows (viaWSL) HOT 3
- Connect own virtual machine in self-hosted environment HOT 1
- Cannot create key with kloudctl HOT 2
- Unable to start tunnelserver instance HOT 1
- Can Install KD cli HOT 6
- Asks for a Team Name yet i dont have one? HOT 1
- _csrf token is not valid
- Error with Local Koding install HOT 2
- bootstrap-container: line 70: exec: configure: not found HOT 4
- Koding dead? HOT 3
- Assuming responsibility
- Quick Start with Docker-Compose not work HOT 1
- after docker compose installation error occurs HOT 1
- broken links HOT 1
- fresh koding install with digitalocean stack, pre-tested valid key wont verify HOT 2
- Nothing loads on 8090 after installation HOT 4
- A bug in Dockerfile
- README.markdown still says site hosts Koding
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 koding.