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:
16
.env
16
.env
@@ -1,6 +1,16 @@
|
||||
COMPOSE_PROJECT_NAME=nibiru-framework-api
|
||||
VIRTUAL_HOST=agent.api.nibiru-framework.com
|
||||
LETSENCRYPT_HOST=agent.api.nibiru-framework.com
|
||||
VIRTUAL_PORT=80
|
||||
APPLICATION_ENV=production
|
||||
TZ=Europe/Berlin
|
||||
NGINX_PROXY_VIRTUAL_PORT=80
|
||||
FPM_VIRTUAL_PORT=9000
|
||||
|
||||
NIBIRU_WEBHOOK_HOST=nibiru-webhook-receiver
|
||||
NIBIRU_WEHOOK_RECEIVER_VIRTUAL_HOST=api.agent.receiver.nibiru-framework.com
|
||||
NIBIRU_WEHOOK_RECEIVER_LETSENCRYPT_HOST=api.agent.receiver.nibiru-framework.com
|
||||
|
||||
NIBIRU_AUTH_HOST=nibiru-auth-api
|
||||
NIBIRU_AUTH_VIRTUAL_HOST=api.agent.auth.nibiru-framework.com
|
||||
NIBIRU_AUTH_LETSENCRYPT_HOST=api.agent.auth.nibiru-framework.com
|
||||
|
||||
PROXY_NETWORK=nginx-proxy
|
||||
GITHUB_TOKEN=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
|
||||
Reference in New Issue
Block a user