1
0
Fork 0
mirror of synced 2024-06-02 19:04:49 +12:00

Merge pull request #2438 from appwrite/feat-database-worker

feat(views/install): database worker
This commit is contained in:
Torsten Dittmann 2021-11-25 20:23:23 +01:00 committed by GitHub
commit 89a296cb6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@
$httpPort = $this->getParam('httpPort', '');
$httpsPort = $this->getParam('httpsPort', '');
$version = $this->getParam('version', '');
$version = '0.12.0-alpha'; // TODO: TEMPORARY
$organization = $this->getParam('organization', '');
$image = $this->getParam('image', '');
?>version: '3'
@ -150,6 +151,28 @@ services:
- _APP_DB_PASS
- _APP_USAGE_STATS
appwrite-worker-database:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: worker-database
container_name: appwrite-worker-database
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
- mariadb
environment:
- _APP_ENV
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
appwrite-worker-audits:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: worker-audits