update service templates
This commit is contained in:
parent
eab7fd44d4
commit
9ef7cf3c12
@ -75,7 +75,7 @@ _APP_FUNCTIONS_CPUS=0
|
|||||||
_APP_FUNCTIONS_MEMORY=0
|
_APP_FUNCTIONS_MEMORY=0
|
||||||
_APP_FUNCTIONS_MEMORY_SWAP=0
|
_APP_FUNCTIONS_MEMORY_SWAP=0
|
||||||
_APP_FUNCTIONS_RUNTIMES=node-16.0,php-8.0,python-3.9,ruby-3.0
|
_APP_FUNCTIONS_RUNTIMES=node-16.0,php-8.0,python-3.9,ruby-3.0
|
||||||
_APP_EXECUTOR_SECRET=your-secret-key
|
_APP_EXECUTOR_SECRET=$SERVICE_PASSWORD_64_APPWRITE
|
||||||
_APP_EXECUTOR_HOST=http://appwrite-executor/v1
|
_APP_EXECUTOR_HOST=http://appwrite-executor/v1
|
||||||
_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes
|
_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes
|
||||||
_APP_FUNCTIONS_ENVS=node-16.0,php-7.4,python-3.9,ruby-3.0
|
_APP_FUNCTIONS_ENVS=node-16.0,php-7.4,python-3.9,ruby-3.0
|
||||||
|
@ -126,10 +126,7 @@ services:
|
|||||||
appwrite-realtime:
|
appwrite-realtime:
|
||||||
image: appwrite/appwrite:1.4
|
image: appwrite/appwrite:1.4
|
||||||
entrypoint: realtime
|
entrypoint: realtime
|
||||||
container_name: appwrite-realtime
|
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
- redis
|
- redis
|
||||||
@ -157,9 +154,6 @@ services:
|
|||||||
entrypoint: worker-audits
|
entrypoint: worker-audits
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-worker-audits
|
container_name: appwrite-worker-audits
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- mariadb
|
- mariadb
|
||||||
@ -184,9 +178,6 @@ services:
|
|||||||
entrypoint: worker-webhooks
|
entrypoint: worker-webhooks
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-worker-webhooks
|
container_name: appwrite-worker-webhooks
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- mariadb
|
- mariadb
|
||||||
@ -207,9 +198,6 @@ services:
|
|||||||
entrypoint: worker-deletes
|
entrypoint: worker-deletes
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-worker-deletes
|
container_name: appwrite-worker-deletes
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- mariadb
|
- mariadb
|
||||||
@ -263,9 +251,6 @@ services:
|
|||||||
entrypoint: worker-databases
|
entrypoint: worker-databases
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-worker-databases
|
container_name: appwrite-worker-databases
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- mariadb
|
- mariadb
|
||||||
@ -290,9 +275,6 @@ services:
|
|||||||
entrypoint: worker-builds
|
entrypoint: worker-builds
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-worker-builds
|
container_name: appwrite-worker-builds
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- mariadb
|
- mariadb
|
||||||
@ -352,9 +334,6 @@ services:
|
|||||||
entrypoint: worker-certificates
|
entrypoint: worker-certificates
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-worker-certificates
|
container_name: appwrite-worker-certificates
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- mariadb
|
- mariadb
|
||||||
@ -386,9 +365,6 @@ services:
|
|||||||
entrypoint: worker-functions
|
entrypoint: worker-functions
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-worker-functions
|
container_name: appwrite-worker-functions
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- mariadb
|
- mariadb
|
||||||
@ -423,9 +399,6 @@ services:
|
|||||||
entrypoint: worker-mails
|
entrypoint: worker-mails
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-worker-mails
|
container_name: appwrite-worker-mails
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
environment:
|
environment:
|
||||||
@ -451,9 +424,6 @@ services:
|
|||||||
entrypoint: worker-messaging
|
entrypoint: worker-messaging
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-worker-messaging
|
container_name: appwrite-worker-messaging
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
environment:
|
environment:
|
||||||
@ -473,9 +443,6 @@ services:
|
|||||||
entrypoint: worker-migrations
|
entrypoint: worker-migrations
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-worker-migrations
|
container_name: appwrite-worker-migrations
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
environment:
|
environment:
|
||||||
@ -504,9 +471,6 @@ services:
|
|||||||
entrypoint: maintenance
|
entrypoint: maintenance
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-maintenance
|
container_name: appwrite-maintenance
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
environment:
|
environment:
|
||||||
@ -538,9 +502,6 @@ services:
|
|||||||
entrypoint: usage
|
entrypoint: usage
|
||||||
container_name: appwrite-usage
|
container_name: appwrite-usage
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- influxdb
|
- influxdb
|
||||||
- mariadb
|
- mariadb
|
||||||
@ -569,9 +530,6 @@ services:
|
|||||||
entrypoint: schedule
|
entrypoint: schedule
|
||||||
container_name: appwrite-schedule
|
container_name: appwrite-schedule
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
- redis
|
- redis
|
||||||
@ -593,9 +551,7 @@ services:
|
|||||||
# image: appwrite/assistant:0.2.1
|
# image: appwrite/assistant:0.2.1
|
||||||
# container_name: appwrite-assistant
|
# container_name: appwrite-assistant
|
||||||
# <<: *x-logging
|
# <<: *x-logging
|
||||||
# restart: unless-stopped
|
#
|
||||||
# networks:
|
|
||||||
# - appwrite
|
|
||||||
# environment:
|
# environment:
|
||||||
# - _APP_ASSISTANT_OPENAI_API_KEY
|
# - _APP_ASSISTANT_OPENAI_API_KEY
|
||||||
|
|
||||||
@ -605,9 +561,6 @@ services:
|
|||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
stop_signal: SIGINT
|
stop_signal: SIGINT
|
||||||
image: openruntimes/executor:0.4.1
|
image: openruntimes/executor:0.4.1
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
- runtimes
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- appwrite-builds:/storage/builds:rw
|
- appwrite-builds:/storage/builds:rw
|
||||||
@ -652,9 +605,6 @@ services:
|
|||||||
image: mariadb:10.7 # fix issues when upgrading using: mysql_upgrade -u root -p
|
image: mariadb:10.7 # fix issues when upgrading using: mysql_upgrade -u root -p
|
||||||
container_name: appwrite-mariadb
|
container_name: appwrite-mariadb
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
volumes:
|
volumes:
|
||||||
- appwrite-mariadb:/var/lib/mysql:rw
|
- appwrite-mariadb:/var/lib/mysql:rw
|
||||||
environment:
|
environment:
|
||||||
@ -668,23 +618,18 @@ services:
|
|||||||
image: redis:7.0.4-alpine
|
image: redis:7.0.4-alpine
|
||||||
container_name: appwrite-redis
|
container_name: appwrite-redis
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
restart: unless-stopped
|
|
||||||
command: >
|
command: >
|
||||||
redis-server
|
redis-server
|
||||||
--maxmemory 512mb
|
--maxmemory 512mb
|
||||||
--maxmemory-policy allkeys-lru
|
--maxmemory-policy allkeys-lru
|
||||||
--maxmemory-samples 5
|
--maxmemory-samples 5
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
volumes:
|
volumes:
|
||||||
- appwrite-redis:/data:rw
|
- appwrite-redis:/data:rw
|
||||||
|
|
||||||
# clamav:
|
# clamav:
|
||||||
# image: appwrite/clamav:1.2.0
|
# image: appwrite/clamav:1.2.0
|
||||||
# container_name: appwrite-clamav
|
# container_name: appwrite-clamav
|
||||||
# restart: unless-stopped
|
#
|
||||||
# networks:
|
|
||||||
# - appwrite
|
|
||||||
# volumes:
|
# volumes:
|
||||||
# - appwrite-uploads:/storage/uploads
|
# - appwrite-uploads:/storage/uploads
|
||||||
|
|
||||||
@ -692,9 +637,6 @@ services:
|
|||||||
image: appwrite/influxdb:1.5.0
|
image: appwrite/influxdb:1.5.0
|
||||||
container_name: appwrite-influxdb
|
container_name: appwrite-influxdb
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
volumes:
|
volumes:
|
||||||
- appwrite-influxdb:/var/lib/influxdb:rw
|
- appwrite-influxdb:/var/lib/influxdb:rw
|
||||||
|
|
||||||
@ -702,21 +644,10 @@ services:
|
|||||||
image: appwrite/telegraf:1.4.0
|
image: appwrite/telegraf:1.4.0
|
||||||
container_name: appwrite-telegraf
|
container_name: appwrite-telegraf
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- appwrite
|
|
||||||
environment:
|
environment:
|
||||||
- _APP_INFLUXDB_HOST
|
- _APP_INFLUXDB_HOST
|
||||||
- _APP_INFLUXDB_PORT
|
- _APP_INFLUXDB_PORT
|
||||||
|
|
||||||
networks:
|
|
||||||
gateway:
|
|
||||||
name: gateway
|
|
||||||
appwrite:
|
|
||||||
name: appwrite
|
|
||||||
runtimes:
|
|
||||||
name: runtimes
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
appwrite-mariadb:
|
appwrite-mariadb:
|
||||||
appwrite-redis:
|
appwrite-redis:
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user