Improve container naming conventions
This commit is contained in:
parent
a30d06bc58
commit
20bf989dca
2 changed files with 15 additions and 7 deletions
|
@ -148,6 +148,14 @@ Learn more at our [Technology Stack](#technology-stack) section.
|
||||||
- [Microservices vs Monolithic](https://www.mulesoft.com/resources/api/microservices-vs-monolithic#:~:text=Microservices%20architecture%20vs%20monolithic%20architecture&text=A%20monolithic%20application%20is%20built%20as%20a%20single%20unit.&text=To%20make%20any%20alterations%20to,formally%20with%20business%2Doriented%20APIs.)
|
- [Microservices vs Monolithic](https://www.mulesoft.com/resources/api/microservices-vs-monolithic#:~:text=Microservices%20architecture%20vs%20monolithic%20architecture&text=A%20monolithic%20application%20is%20built%20as%20a%20single%20unit.&text=To%20make%20any%20alterations%20to,formally%20with%20business%2Doriented%20APIs.)
|
||||||
- [MVVM](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel) - Appwrite console architecture
|
- [MVVM](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93viewmodel) - Appwrite console architecture
|
||||||
|
|
||||||
|
##### Container Namespace Conventions
|
||||||
|
To keep our services easy to understand within Docker we follow a naming convention for all our containers depending on it's intended use.
|
||||||
|
|
||||||
|
`appwrite-worker-X` - Workers (`src/Appwrite/Platform/Workers/*`)
|
||||||
|
`appwrite-task-X` - Tasks (`src/Appwrite/Platform/Tasks/*`)
|
||||||
|
|
||||||
|
Other containes should be named the same as their service, for example `redis` should just be called `redis`.
|
||||||
|
|
||||||
##### Security
|
##### Security
|
||||||
|
|
||||||
- [Appwrite Auth and ACL](https://github.com/appwrite/appwrite/blob/master/docs/specs/authentication.drawio.svg)
|
- [Appwrite Auth and ACL](https://github.com/appwrite/appwrite/blob/master/docs/specs/authentication.drawio.svg)
|
||||||
|
|
|
@ -189,7 +189,7 @@ services:
|
||||||
- _APP_MESSAGE_PUSH_TEST_DSN
|
- _APP_MESSAGE_PUSH_TEST_DSN
|
||||||
- _APP_CONSOLE_COUNTRIES_DENYLIST
|
- _APP_CONSOLE_COUNTRIES_DENYLIST
|
||||||
|
|
||||||
appwrite-realtime:
|
appwrite-task-realtime:
|
||||||
entrypoint: realtime
|
entrypoint: realtime
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-realtime
|
container_name: appwrite-realtime
|
||||||
|
@ -627,7 +627,7 @@ services:
|
||||||
- _APP_MIGRATIONS_FIREBASE_CLIENT_ID
|
- _APP_MIGRATIONS_FIREBASE_CLIENT_ID
|
||||||
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
|
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
|
||||||
|
|
||||||
appwrite-maintenance:
|
appwrite-task-maintenance:
|
||||||
entrypoint: maintenance
|
entrypoint: maintenance
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-maintenance
|
container_name: appwrite-maintenance
|
||||||
|
@ -726,7 +726,7 @@ services:
|
||||||
- _APP_LOGGING_CONFIG
|
- _APP_LOGGING_CONFIG
|
||||||
- _APP_USAGE_AGGREGATION_INTERVAL
|
- _APP_USAGE_AGGREGATION_INTERVAL
|
||||||
|
|
||||||
appwrite-scheduler-functions:
|
appwrite-task-scheduler-functions:
|
||||||
entrypoint: schedule-functions
|
entrypoint: schedule-functions
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-scheduler-functions
|
container_name: appwrite-scheduler-functions
|
||||||
|
@ -753,7 +753,7 @@ services:
|
||||||
- _APP_DB_USER
|
- _APP_DB_USER
|
||||||
- _APP_DB_PASS
|
- _APP_DB_PASS
|
||||||
|
|
||||||
appwrite-scheduler-messages:
|
appwrite-task-scheduler-messages:
|
||||||
entrypoint: schedule-messages
|
entrypoint: schedule-messages
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
container_name: appwrite-scheduler-messages
|
container_name: appwrite-scheduler-messages
|
||||||
|
@ -780,7 +780,7 @@ services:
|
||||||
- _APP_DB_USER
|
- _APP_DB_USER
|
||||||
- _APP_DB_PASS
|
- _APP_DB_PASS
|
||||||
|
|
||||||
appwrite-assistant:
|
appwrite-task-assistant:
|
||||||
container_name: appwrite-assistant
|
container_name: appwrite-assistant
|
||||||
image: appwrite/assistant:0.4.0
|
image: appwrite/assistant:0.4.0
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in a new issue