-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update version image alpine and config.ts wppconenct-server
- Loading branch information
Showing
13 changed files
with
243 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,89 @@ | ||
export default { | ||
secretKey: 'THISISMYSECURETOKEN', | ||
host: 'http://localhost', | ||
port: '21465', | ||
deviceName: 'WppConnect', | ||
poweredBy: 'WPPConnect-Server', | ||
startAllSession: true, | ||
tokenStoreType: 'file', | ||
maxListeners: 15, | ||
customUserDataDir: './userDataDir/', | ||
webhook: { | ||
url: null, | ||
autoDownload: true, | ||
uploadS3: false, | ||
awsBucketName: null, | ||
readMessage: true, | ||
allUnreadOnStart: false, | ||
listenAcks: true, | ||
onPresenceChanged: true, | ||
onParticipantsChanged: true, | ||
onReactionMessage: true, | ||
onPollResponse: true, | ||
onRevokedMessage: true, | ||
}, | ||
archive: { | ||
enable: false, | ||
waitTime: 10, | ||
daysToArchive: 45, | ||
}, | ||
log: { | ||
level: 'silly', // Before open a issue, change level to silly and retry a action | ||
logger: ['console', 'file'], | ||
}, | ||
createOptions: { | ||
browserArgs: [ | ||
'--disable-web-security', | ||
'--no-sandbox', | ||
'--disable-web-security', | ||
'--aggressive-cache-discard', | ||
'--disable-cache', | ||
'--disable-application-cache', | ||
'--disable-offline-load-stale-cache', | ||
'--disk-cache-size=0', | ||
'--disable-background-networking', | ||
'--disable-default-apps', | ||
'--disable-extensions', | ||
'--disable-sync', | ||
'--disable-translate', | ||
'--hide-scrollbars', | ||
'--metrics-recording-only', | ||
'--mute-audio', | ||
'--no-first-run', | ||
'--safebrowsing-disable-auto-update', | ||
'--ignore-certificate-errors', | ||
'--ignore-ssl-errors', | ||
'--ignore-certificate-errors-spki-list', | ||
], | ||
}, | ||
mapper: { | ||
enable: false, | ||
prefix: 'tagone-', | ||
}, | ||
db: { | ||
mongodbDatabase: 'tokens', | ||
mongodbCollection: '', | ||
mongodbUser: '', | ||
mongodbPassword: '', | ||
mongodbHost: '', | ||
mongoIsRemote: true, | ||
mongoURLRemote: '', | ||
mongodbPort: 27017, | ||
redisHost: 'localhost', | ||
redisPort: 6379, | ||
redisPassword: '', | ||
redisDb: 0, | ||
redisPrefix: 'docker', | ||
}, | ||
}; | ||
|
||
secretKey: 'THISISMYSECURETOKEN', | ||
host: 'http://localhost', | ||
port: '21465', | ||
deviceName: 'WppConnect', | ||
poweredBy: 'WPPConnect-Server', | ||
startAllSession: true, | ||
tokenStoreType: 'file', | ||
maxListeners: 15, | ||
customUserDataDir: './userDataDir/', | ||
webhook: { | ||
url: null, | ||
autoDownload: true, | ||
uploadS3: false, | ||
readMessage: true, | ||
allUnreadOnStart: false, | ||
listenAcks: true, | ||
onPresenceChanged: true, | ||
onParticipantsChanged: true, | ||
onReactionMessage: true, | ||
onPollResponse: true, | ||
onRevokedMessage: true, | ||
onLabelUpdated: true, | ||
onSelfMessage: false, | ||
}, | ||
chatwoot: { | ||
sendQrCode: true, | ||
sendStatus: true, | ||
}, | ||
archive: { | ||
enable: false, | ||
waitTime: 10, | ||
daysToArchive: 45, | ||
}, | ||
log: { | ||
level: 'silly', // Before open a issue, change level to silly and retry a action | ||
logger: ['console', 'file'], | ||
}, | ||
createOptions: { | ||
browserArgs: [ | ||
'--disable-web-security', | ||
'--no-sandbox', | ||
'--disable-web-security', | ||
'--aggressive-cache-discard', | ||
'--disable-cache', | ||
'--disable-application-cache', | ||
'--disable-offline-load-stale-cache', | ||
'--disk-cache-size=0', | ||
'--disable-background-networking', | ||
'--disable-default-apps', | ||
'--disable-extensions', | ||
'--disable-sync', | ||
'--disable-translate', | ||
'--hide-scrollbars', | ||
'--metrics-recording-only', | ||
'--mute-audio', | ||
'--no-first-run', | ||
'--safebrowsing-disable-auto-update', | ||
'--ignore-certificate-errors', | ||
'--ignore-ssl-errors', | ||
'--ignore-certificate-errors-spki-list', | ||
], | ||
}, | ||
mapper: { | ||
enable: false, | ||
prefix: 'tagone-', | ||
}, | ||
db: { | ||
mongodbDatabase: 'tokens', | ||
mongodbCollection: '', | ||
mongodbUser: '', | ||
mongodbPassword: '', | ||
mongodbHost: '', | ||
mongoIsRemote: true, | ||
mongoURLRemote: '', | ||
mongodbPort: 27017, | ||
redisHost: 'localhost', | ||
redisPort: 6379, | ||
redisPassword: '', | ||
redisDb: 0, | ||
redisPrefix: 'docker', | ||
}, | ||
aws_s3: { | ||
region: 'sa-east-1', | ||
access_key_id: null, | ||
secret_key: null, | ||
defaultBucketName: null, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:lts-alpine3.16 | ||
FROM node:lts-alpine3.18 | ||
|
||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.