ottomated / CrewLink-server

Voice Relay server for CrewLink.
GNU General Public License v3.0
696 stars 451 forks source link

the Docker container closes immediately #138

Closed Nelllow closed 3 years ago

Nelllow commented 3 years ago

There is my problem (I'm a beginner) :

C:\Users\XXX>docker run -d -p 9736:9736 ottomated/crewlink-server:latest 39513bace2fe1a06dee0e712f60fb500cd160fb94625a19b60137ed2dccd6b00

C:\Users\XXX>docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

C:\Users\XXX>docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 39513bace2fe ottomated/crewlink-server:latest "docker-entrypoint.s…" 7 seconds ago Exited (1) 6 seconds ago trusting_goldberg

I tried some solutions found on the web but none of them work

beautivile commented 3 years ago

You need to have the required environment variable otherwise it will not start: ADDRESS.

docker run -d -p 9736:9736 -e http:YOURDOMAIN.TLD:9736 ottomated/crewlink-server:latest

Also you can see what was happening in the container logs by the following: docker logs --follow trusting_goldberg

EvanMorr commented 3 years ago

Hello

Nelllow commented 3 years ago

Thanks for answer @beautivile. I'm a beginner so what do you mean by "your domain" ?

youaremee commented 3 years ago

Hi, you need to use the correct command:

docker run -d -p 9736:9736 -e ADDRESS=http://DOMAIN.domain:9736 ottomated/crewlink-server:latest

Nelllow commented 3 years ago

Sorry for the delay of response. Thanks, it work now !