Refactored the application's dockerization and added new services
This commit involves significant changes to the application's infrastructure. It refactors the application into two separate services: 'nibiru-auth-api' and 'nibiru-webhook-receiver'. Each service has its corresponding Dockerfile, Nginx & PHP-FPM configuration. It also provides a separate Nginx configuration for handling requests for each service. New environment files, start and stop scripts are introduced to facilitate local and production deployments.
This commit is contained in:
14
.env-local
Normal file
14
.env-local
Normal file
@@ -0,0 +1,14 @@
|
||||
COMPOSE_PROJECT_NAME=nibiru-framework-api
|
||||
APPLICATION_ENV=development
|
||||
TZ=Europe/Berlin
|
||||
NGINX_PROXY_VIRTUAL_PORT=80
|
||||
FPM_VIRTUAL_PORT=9000
|
||||
|
||||
NIBIRU_WEBHOOK_HOST=nibiru-webhook-receiver
|
||||
NIBIRU_WEHOOK_RECEIVER_VIRTUAL_HOST=local.receiver.nibiru-framework.com
|
||||
|
||||
NIBIRU_AUTH_HOST=nibiru-auth-api
|
||||
NIBIRU_AUTH_VIRTUAL_HOST=local.auth.nibiru-framework.com
|
||||
|
||||
PROXY_NETWORK=nginx-proxy
|
||||
GITHUB_TOKEN=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
|
||||
Reference in New Issue
Block a user