mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
enable referral with amplitude.
This commit is contained in:
@@ -22,7 +22,7 @@ services:
|
||||
environment:
|
||||
- MONGO_URL=mongodb://mongo:27017/fyipedb
|
||||
- REDIS_HOST=redis
|
||||
- IS_SAAS_SERVICE
|
||||
- IS_SAAS_SERVICE=true
|
||||
depends_on:
|
||||
- mongo
|
||||
- redis
|
||||
@@ -35,7 +35,7 @@ services:
|
||||
env_file:
|
||||
- ./accounts/.env
|
||||
environment:
|
||||
- IS_SAAS_SERVICE
|
||||
- IS_SAAS_SERVICE=true
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
@@ -46,7 +46,7 @@ services:
|
||||
env_file:
|
||||
- ./dashboard/.env
|
||||
environment:
|
||||
- IS_SAAS_SERVICE
|
||||
- IS_SAAS_SERVICE=true
|
||||
depends_on:
|
||||
- backend
|
||||
- accounts
|
||||
@@ -56,6 +56,8 @@ services:
|
||||
- '1444:1444'
|
||||
env_file:
|
||||
- ./home/.env
|
||||
environment:
|
||||
- IS_SAAS_SERVICE=true
|
||||
build: ./home
|
||||
|
||||
status-page:
|
||||
@@ -64,6 +66,8 @@ services:
|
||||
build: ./status-page
|
||||
env_file:
|
||||
- ./status-page/.env
|
||||
environment:
|
||||
- IS_SAAS_SERVICE=true
|
||||
depends_on:
|
||||
- backend
|
||||
- accounts
|
||||
@@ -76,7 +80,7 @@ services:
|
||||
env_file:
|
||||
- ./admin-dashboard/.env
|
||||
environment:
|
||||
- IS_SAAS_SERVICE
|
||||
- IS_SAAS_SERVICE=true
|
||||
depends_on:
|
||||
- backend
|
||||
- accounts
|
||||
@@ -86,6 +90,8 @@ services:
|
||||
- '3010:3010'
|
||||
env_file:
|
||||
- ./http-test-server/.env
|
||||
environment:
|
||||
- IS_SAAS_SERVICE=true
|
||||
build: ./http-test-server
|
||||
|
||||
licensing:
|
||||
@@ -93,6 +99,8 @@ services:
|
||||
- '3004:3004'
|
||||
env_file:
|
||||
- ./licensing/.env
|
||||
environment:
|
||||
- IS_SAAS_SERVICE=true
|
||||
build: ./licensing
|
||||
|
||||
probe1:
|
||||
@@ -106,6 +114,7 @@ services:
|
||||
- SERVER_URL=http://backend:3002
|
||||
- PROBE_NAME=Probe 1
|
||||
- PROBE_KEY=test-key
|
||||
- IS_SAAS_SERVICE=true
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
@@ -120,6 +129,7 @@ services:
|
||||
- SERVER_URL=http://backend:3002
|
||||
- PROBE_NAME=Probe 2
|
||||
- PROBE_KEY=test-key
|
||||
- IS_SAAS_SERVICE=true
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
@@ -129,6 +139,8 @@ services:
|
||||
build: ./api-docs
|
||||
env_file:
|
||||
- ./api-docs/.env
|
||||
environment:
|
||||
- IS_SAAS_SERVICE=true
|
||||
|
||||
##IMPORTANT:
|
||||
## This container is used to expose backend api to the internet
|
||||
@@ -140,6 +152,8 @@ services:
|
||||
command: ngrok http backend:3002
|
||||
depends_on:
|
||||
- backend
|
||||
environment:
|
||||
- IS_SAAS_SERVICE=true
|
||||
|
||||
##IMPORTANT:
|
||||
## This container is an SMTP server used to send emails.
|
||||
|
||||
@@ -38,4 +38,10 @@
|
||||
; e.amplitude = n
|
||||
})(window, document);
|
||||
|
||||
amplitude.getInstance().init("802d95003af23aad17ed068b6cfdeb2b");
|
||||
amplitude.getInstance().init("802d95003af23aad17ed068b6cfdeb2b", null, {
|
||||
// include referrer information in amplitude.
|
||||
saveEvents: true,
|
||||
includeUtm: true,
|
||||
includeReferrer: true,
|
||||
includeGclid: true
|
||||
});
|
||||
Reference in New Issue
Block a user