fix: service dockercompose predefined networks

version++
fix: modal of changing service stack
fix: appwrite template
This commit is contained in:
Andras Bacsai
2023-11-06 15:22:11 +01:00
parent 534372c29c
commit eab7fd44d4
9 changed files with 54 additions and 65 deletions

View File

@@ -3,6 +3,8 @@ _APP_LOCALE=en
_APP_OPTIONS_ABUSE=enabled
_APP_OPTIONS_FORCE_HTTPS=disabled
_APP_OPENSSL_KEY_V1=
_APP_DOMAIN=
_APP_DOMAIN_TARGET=
_APP_DOMAIN_FUNCTIONS=
_APP_CONSOLE_WHITELIST_ROOT=enabled
_APP_CONSOLE_WHITELIST_EMAILS=

View File

@@ -17,19 +17,6 @@ services:
image: appwrite/appwrite:1.4
container_name: appwrite
<<: *x-logging
labels:
- traefik.constraint-label-stack=appwrite
- traefik.docker.network=appwrite
- traefik.http.services.appwrite_api.loadbalancer.server.port=80
#http
- traefik.http.routers.appwrite_api_http.entrypoints=web
- traefik.http.routers.appwrite_api_http.rule=PathPrefix(`/`)
- traefik.http.routers.appwrite_api_http.service=appwrite_api
# https
- traefik.http.routers.appwrite_api_https.entrypoints=websecure
- traefik.http.routers.appwrite_api_https.rule=PathPrefix(`/`)
- traefik.http.routers.appwrite_api_https.service=appwrite_api
- traefik.http.routers.appwrite_api_https.tls=true
volumes:
- appwrite-uploads:/storage/uploads:rw
- appwrite-cache:/storage/cache:rw
@@ -56,9 +43,9 @@ services:
- _APP_OPTIONS_ABUSE
- _APP_OPTIONS_FORCE_HTTPS
- _APP_OPENSSL_KEY_V1
- _APP_DOMAIN
- _APP_DOMAIN_TARGET
- _APP_DOMAIN_FUNCTIONS
- _APP_DOMAIN=$SERVICE_FQDN_APPWRITE
- _APP_DOMAIN_TARGET=$SERVICE_FQDN_APPWRITE
- _APP_DOMAIN_FUNCTIONS=$SERVICE_FQDN_APPWRITE
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
@@ -137,24 +124,10 @@ services:
- _APP_ASSISTANT_OPENAI_API_KEY
appwrite-realtime:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: realtime
container_name: appwrite-realtime
<<: *x-logging
labels:
- "traefik.constraint-label-stack=appwrite"
- "traefik.docker.network=appwrite"
- "traefik.http.services.appwrite_realtime.loadbalancer.server.port=80"
#ws
- traefik.http.routers.appwrite_realtime_ws.entrypoints=web
- traefik.http.routers.appwrite_realtime_ws.rule=PathPrefix(`/v1/realtime`)
- traefik.http.routers.appwrite_realtime_ws.service=appwrite_realtime
# wss
- traefik.http.routers.appwrite_realtime_wss.entrypoints=websecure
- traefik.http.routers.appwrite_realtime_wss.rule=PathPrefix(`/v1/realtime`)
- traefik.http.routers.appwrite_realtime_wss.service=appwrite_realtime
- traefik.http.routers.appwrite_realtime_wss.tls=true
- traefik.http.routers.appwrite_realtime_wss.tls.certresolver=dns
networks:
- appwrite
depends_on:
@@ -180,7 +153,7 @@ services:
- _APP_LOGGING_CONFIG
appwrite-worker-audits:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: worker-audits
<<: *x-logging
container_name: appwrite-worker-audits
@@ -207,7 +180,7 @@ services:
- _APP_LOGGING_CONFIG
appwrite-worker-webhooks:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: worker-webhooks
<<: *x-logging
container_name: appwrite-worker-webhooks
@@ -230,7 +203,7 @@ services:
- _APP_LOGGING_CONFIG
appwrite-worker-deletes:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: worker-deletes
<<: *x-logging
container_name: appwrite-worker-deletes
@@ -286,7 +259,7 @@ services:
- _APP_EXECUTOR_HOST
appwrite-worker-databases:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: worker-databases
<<: *x-logging
container_name: appwrite-worker-databases
@@ -313,7 +286,7 @@ services:
- _APP_LOGGING_CONFIG
appwrite-worker-builds:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: worker-builds
<<: *x-logging
container_name: appwrite-worker-builds
@@ -375,7 +348,7 @@ services:
- _APP_STORAGE_WASABI_BUCKET
appwrite-worker-certificates:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: worker-certificates
<<: *x-logging
container_name: appwrite-worker-certificates
@@ -409,7 +382,7 @@ services:
- _APP_LOGGING_CONFIG
appwrite-worker-functions:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: worker-functions
<<: *x-logging
container_name: appwrite-worker-functions
@@ -446,7 +419,7 @@ services:
- _APP_LOGGING_PROVIDER
appwrite-worker-mails:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: worker-mails
<<: *x-logging
container_name: appwrite-worker-mails
@@ -474,7 +447,7 @@ services:
- _APP_LOGGING_CONFIG
appwrite-worker-messaging:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: worker-messaging
<<: *x-logging
container_name: appwrite-worker-messaging
@@ -496,7 +469,7 @@ services:
- _APP_LOGGING_CONFIG
appwrite-worker-migrations:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: worker-migrations
<<: *x-logging
container_name: appwrite-worker-migrations
@@ -527,7 +500,7 @@ services:
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
appwrite-maintenance:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: maintenance
<<: *x-logging
container_name: appwrite-maintenance
@@ -561,7 +534,7 @@ services:
- _APP_MAINTENANCE_RETENTION_SCHEDULES
appwrite-usage:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: usage
container_name: appwrite-usage
<<: *x-logging
@@ -592,7 +565,7 @@ services:
- _APP_LOGGING_CONFIG
appwrite-schedule:
image: appwrite/appwrite:1.4.3
image: appwrite/appwrite:1.4
entrypoint: schedule
container_name: appwrite-schedule
<<: *x-logging
@@ -616,15 +589,15 @@ services:
- _APP_DB_USER
- _APP_DB_PASS
appwrite-assistant:
image: appwrite/assistant:0.2.1
container_name: appwrite-assistant
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
environment:
- _APP_ASSISTANT_OPENAI_API_KEY
# appwrite-assistant:
# image: appwrite/assistant:0.2.1
# container_name: appwrite-assistant
# <<: *x-logging
# restart: unless-stopped
# networks:
# - appwrite
# environment:
# - _APP_ASSISTANT_OPENAI_API_KEY
openruntimes-executor:
container_name: openruntimes-executor