Skip to content
New issue

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

multiple project .env problem #2287

Closed
ezekel opened this issue Sep 17, 2019 · 2 comments
Closed

multiple project .env problem #2287

ezekel opened this issue Sep 17, 2019 · 2 comments

Comments

@ezekel
Copy link

ezekel commented Sep 17, 2019

Hi can I ask some help I am new to the laradock and I want to run my 2 laravel app, but I am having problem. can you help me please.

# Point to the path of your applications code on your host
APP_CODE_PATH_HOST=../
cp nginx/sites/laravel.conf.example nginx/sites/mysite1.conf
cp nginx/sites/laravel.conf.example nginx/sites/mysite2.conf

This is the error when I docker-composer up -d inside laradock


ERROR: In file .\.env: environment variable name 'cp nginx/sites/laravel.conf.example nginx/sites/mysite1.conf' may not contains whitespace.

@jzonta
Copy link
Contributor

jzonta commented Sep 17, 2019

You cannot execute a "cp" command on the .env file. The .env is for set variables only.

See in the documentation how you should add a new project.
https://laradock.io/getting-started/#B

@ezekel
Copy link
Author

ezekel commented Sep 18, 2019

@jzonta

Thank you so much it works now

@ezekel ezekel closed this as completed Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants