1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

patch: update docker compose files for prod

This commit is contained in:
Christy Jacob 2020-12-22 19:49:29 +05:30
parent d58e1fdbcf
commit 92907fca07
2 changed files with 27 additions and 0 deletions

View file

@ -151,4 +151,10 @@ return [
'required' => false,
'question' => '',
],
[
'name' => '_APP_MAINTENANCE_INTERVAL',
'default' => '86400',
'required' => false,
'question' => '',
],
];

View file

@ -251,6 +251,27 @@ services:
- _APP_SMTP_SECURE
- _APP_SMTP_USERNAME
- _APP_SMTP_PASSWORD
appwrite-maintenance:
entrypoint: maintenance
container_name: appwrite-maintenance
build:
context: .
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
environment:
- _APP_ENV
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_MAINTENANCE_INTERVAL
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
appwrite-schedule:
image: appwrite/appwrite:<?php echo $version."\n"; ?>