fix: appwrite?!
This commit is contained in:
		@@ -1374,10 +1374,6 @@ async function startAppWriteService(request: FastifyRequest<ServiceStartStop>) {
 | 
			
		||||
        const teamId = request.user.teamId;
 | 
			
		||||
        const { version, fqdn, destinationDocker, secrets, exposePort, network, port, workdir, image, appwrite } = await defaultServiceConfigurations({ id, teamId })
 | 
			
		||||
 | 
			
		||||
        let isStatsEnabled = false
 | 
			
		||||
        if (secrets.find(s => s === '_APP_USAGE_STATS=enabled')) {
 | 
			
		||||
            isStatsEnabled = true
 | 
			
		||||
        }
 | 
			
		||||
        const {
 | 
			
		||||
            opensslKeyV1,
 | 
			
		||||
            executorSecret,
 | 
			
		||||
@@ -1755,7 +1751,6 @@ async function startAppWriteService(request: FastifyRequest<ServiceStartStop>) {
 | 
			
		||||
            },
 | 
			
		||||
 | 
			
		||||
        };
 | 
			
		||||
        if (isStatsEnabled) {
 | 
			
		||||
        dockerCompose[id].depends_on.push(`${id}-influxdb`);
 | 
			
		||||
        dockerCompose[`${id}-usage`] = {
 | 
			
		||||
            image: `${image}:${version}`,
 | 
			
		||||
@@ -1799,7 +1794,6 @@ async function startAppWriteService(request: FastifyRequest<ServiceStartStop>) {
 | 
			
		||||
            ],
 | 
			
		||||
            ...defaultComposeConfiguration(network),
 | 
			
		||||
        }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        const composeFile: any = {
 | 
			
		||||
            version: '3.8',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user