patch: update docker compose files for prod
This commit is contained in:
parent
d58e1fdbcf
commit
92907fca07
|
@ -151,4 +151,10 @@ return [
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'question' => '',
|
'question' => '',
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'name' => '_APP_MAINTENANCE_INTERVAL',
|
||||||
|
'default' => '86400',
|
||||||
|
'required' => false,
|
||||||
|
'question' => '',
|
||||||
|
],
|
||||||
];
|
];
|
|
@ -251,6 +251,27 @@ services:
|
||||||
- _APP_SMTP_SECURE
|
- _APP_SMTP_SECURE
|
||||||
- _APP_SMTP_USERNAME
|
- _APP_SMTP_USERNAME
|
||||||
- _APP_SMTP_PASSWORD
|
- _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:
|
appwrite-schedule:
|
||||||
image: appwrite/appwrite:<?php echo $version."\n"; ?>
|
image: appwrite/appwrite:<?php echo $version."\n"; ?>
|
||||||
|
|
Loading…
Reference in a new issue