We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I has a issue when run project with docker-compose. Please feedback for me, thanks.
└─$ sudo make initialize cp api/.env-dist api/.env make setup-hosts create-network up jwt composer-install cache make[1]: Entering directory '/home/kali/Tools/Smersh' Setup hosts... docker network create smersh || true Error response from daemon: network with name smersh already exists docker-compose up -d client api [+] Running 7/7 ⠿ Container smersh-traefik-1 Running 0.0s ⠿ Container smersh-db-1 Running 0.0s ⠿ Container smersh-db_codimd-1 Running 0.0s ⠿ Container smersh-client-1 Running 0.0s ⠿ Container smersh-codimd-1 Running 0.0s ⠿ Container smersh-php-1 Started 0.7s ⠿ Container smersh-api-1 Running 0.0s cd api && sh ./generateJWT.sh Invalid template: "^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$" make[1]: *** [Makefile:41: jwt] Error 1 make[1]: Leaving directory '/home/kali/Tools/Smersh' make: *** [Makefile:35: install] Error 2
The text was updated successfully, but these errors were encountered:
Hello @changtraisitinh are you using the latest version ?
Sorry, something went wrong.
Hi @darkweak , yes, i use latest version in kali 2021
Hey @changtraisitinh sadly I'm not able to reproduce. This line cause the issue https://github.com/CMEPW/Smersh/blob/master/api/.env-dist#L36 but we override that environment variable in the https://github.com/CMEPW/Smersh/blob/master/docker-compose.yml#L42. Can you try to replace the api/.env file and replace the ^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$ with ^.+$ and tell me if that works?
api/.env
^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$
^.+$
No branches or pull requests
I has a issue when run project with docker-compose. Please feedback for me, thanks.
└─$ sudo make initialize cp api/.env-dist api/.env make setup-hosts create-network up jwt composer-install cache make[1]: Entering directory '/home/kali/Tools/Smersh' Setup hosts... docker network create smersh || true Error response from daemon: network with name smersh already exists docker-compose up -d client api [+] Running 7/7 ⠿ Container smersh-traefik-1 Running 0.0s ⠿ Container smersh-db-1 Running 0.0s ⠿ Container smersh-db_codimd-1 Running 0.0s ⠿ Container smersh-client-1 Running 0.0s ⠿ Container smersh-codimd-1 Running 0.0s ⠿ Container smersh-php-1 Started 0.7s ⠿ Container smersh-api-1 Running 0.0s cd api && sh ./generateJWT.sh Invalid template: "^https?://(localhost|127\\.0\\.0\\.1)(:[0-9]+)?$" make[1]: *** [Makefile:41: jwt] Error 1 make[1]: Leaving directory '/home/kali/Tools/Smersh' make: *** [Makefile:35: install] Error 2
The text was updated successfully, but these errors were encountered: