feat: fix networks
This commit is contained in:
@@ -4,15 +4,27 @@ image: daily_meal/bemeal-api
|
||||
x-hosts: &hosts
|
||||
- <%= ENV.fetch("SSH_HOST", "89.167.35.217") %>
|
||||
|
||||
x-web-networks: &web-networks
|
||||
network:
|
||||
- bemeal_public
|
||||
- bemeal_internal
|
||||
|
||||
x-worker-networks: &worker-networks
|
||||
network:
|
||||
- bemeal_internal
|
||||
|
||||
servers:
|
||||
web:
|
||||
hosts: *hosts
|
||||
options: *web-networks
|
||||
horizon:
|
||||
hosts: *hosts
|
||||
cmd: php artisan horizon
|
||||
options: *worker-networks
|
||||
scheduler:
|
||||
hosts: *hosts
|
||||
cmd: php artisan schedule:work
|
||||
options: *worker-networks
|
||||
|
||||
proxy:
|
||||
host: bemeal.leonmorival.com
|
||||
|
||||
Reference in New Issue
Block a user