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

I have multiple servers for processing on workspace container #2661

Closed
seth-shi opened this issue Jul 22, 2020 · 0 comments
Closed

I have multiple servers for processing on workspace container #2661

seth-shi opened this issue Jul 22, 2020 · 0 comments

Comments

@seth-shi
Copy link

my servers:

api-1
api-2
api-3
admin

now, i need update code, first , I'm going to go to the admin server(enter workspace container exec command? or have more good idea)

git pull
docker-compose exec workspace bash
composer install
php artisan migrate
php artisan db:seed

i see workspace container have crontab job, but i run at only admin server.
in api server need composer install

git pull
docker-compose exec workspace bash
composer install

api-1, api-2, api-3 run worksapce(composer install need workspace), This results in the workspace container having four server running. crontab have four server run. but crontab should only one server run.
i think should stop workspace in api server.

Can you give me some idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant