Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3873 commits
Select commit Hold shift + click to select a range
81f3b61
mix - fix import data
nhathoang989 Aug 14, 2023
973233b
init db context
nhathoang989 Aug 16, 2023
d0df42a
update queue
nhathoang989 Aug 17, 2023
f968863
fix default theme
nhathoang989 Aug 17, 2023
a61024e
update log
nhathoang989 Aug 17, 2023
18b9447
fix default theme
nhathoang989 Aug 17, 2023
f9facc7
init db context
nhathoang989 Aug 16, 2023
daf51d3
update queue
nhathoang989 Aug 17, 2023
e3d3f6e
update log
nhathoang989 Aug 17, 2023
49d6b37
Merge remote-tracking branch 'origin/feature/update-queue-event-log' …
nhathoang989 Aug 17, 2023
18d8339
fix queue log
nhathoang989 Aug 19, 2023
62ff543
Merge pull request #687 from mixcore/feature/update-queue-event-log
nhathoang989 Aug 19, 2023
61b9a2b
not log MixLog topic
nhathoang989 Aug 19, 2023
8c32875
mix - update admin queue log
nhathoang989 Aug 19, 2023
a9f5aa5
add mixdb patch-many
nhathoang989 Aug 20, 2023
48fa140
mix - clean up startup services
nhathoang989 Aug 20, 2023
8f8d028
add mix.log
nhathoang989 Aug 21, 2023
e642a38
Update and rename dotnet.yml to CI.yml
truongtphat Aug 22, 2023
f31eb73
Delete build-check.yml
truongtphat Aug 22, 2023
40e79b0
Separate Mix Queue Log
Aug 22, 2023
f42af75
Add Mix.Queue.Log into Mixcore project
truongtphat Aug 24, 2023
f68bc79
Update Mix Log Controller
truongtphat Aug 25, 2023
395090a
Rename project
Aug 25, 2023
53d7b22
fix use endpoints
nhathoang989 Aug 26, 2023
08feb97
Merge remote-tracking branch 'origin/develop' into feature/mix_queue_…
truongtphat Aug 26, 2023
55ed80b
update gitignore
truongtphat Aug 26, 2023
ed8b964
Revert gitignore file
truongtphat Aug 26, 2023
0b01f63
update endpoint
truongtphat Aug 26, 2023
320c777
Merge pull request #689 from mixcore/feature/mix_queue_log_separation
truongtphat Aug 26, 2023
f19aed0
clean up queue log
nhathoang989 Aug 27, 2023
75ccc38
cleanup mix.log
nhathoang989 Aug 28, 2023
17e94ec
rename mix.log module folder
nhathoang989 Aug 28, 2023
88259c8
Apply query controller for Audit and Queue Log
truongtphat Aug 28, 2023
35cabda
Merge pull request #690 from mixcore/feature/apply_query_controller_f…
truongtphat Aug 28, 2023
bf8d7a2
Update project reference
truongtphat Aug 28, 2023
e853c84
Merge pull request #691 from mixcore/feature/apply_query_controller_f…
truongtphat Aug 28, 2023
8601da0
Remove GenerateRestApiController attribute on ViewModel
truongtphat Aug 28, 2023
ec61f1e
Remove GenerateRestApiController attribute on ViewModel
truongtphat Aug 28, 2023
8e9d8b0
Merge pull request #692 from mixcore/feature/remove_auto_generated_re…
truongtphat Aug 29, 2023
75f4eb1
Fix warnings
truongtphat Sep 2, 2023
4342b20
Update mix-heart
truongtphat Sep 2, 2023
02ce1cf
Fix warnings
truongtphat Sep 3, 2023
0c28229
Update heart
truongtphat Sep 3, 2023
5d69074
Fix initial home page
truongtphat Sep 3, 2023
97786d3
update heart
truongtphat Sep 3, 2023
a42eb3c
Fix audit log
truongtphat Sep 3, 2023
5bedcfa
Merge pull request #693 from mixcore/bugfix/fix_warnings
truongtphat Sep 3, 2023
35090cb
mix - update mixdb crud hub
nhathoang989 Sep 4, 2023
204ca2b
mix - update mixdb crud fe
nhathoang989 Sep 4, 2023
667df3d
Merge remote-tracking branch 'origin/develop' into develop
nhathoang989 Sep 4, 2023
2a73f92
fix portal
nhathoang989 Sep 6, 2023
2335a5e
Add missing endpoints
truongtphat Sep 13, 2023
b6ce1ac
Update JS and remove some TODOs
truongtphat Sep 15, 2023
42d0098
Merge pull request #694 from mixcore/bugfix/add_missing_endpoints
truongtphat Sep 15, 2023
bd335d3
Update endpoints
truongtphat Sep 18, 2023
6f1acc6
Merge pull request #695 from mixcore/bugfix/update_endpoints
truongtphat Sep 18, 2023
d8f6e5f
init mixdb context be
nhathoang989 Sep 10, 2023
da94ed7
update portal
nhathoang989 Sep 10, 2023
6b26eb2
update migrations
nhathoang989 Sep 11, 2023
f4efd3d
create db by dbcontext id
nhathoang989 Sep 16, 2023
1b63659
update
nhathoang989 Sep 17, 2023
953beb9
update portal
nhathoang989 Sep 20, 2023
cb43944
update table name
nhathoang989 Sep 21, 2023
5dee82b
Merge pull request #696 from mixcore/features/mixdb-context
nhathoang989 Sep 23, 2023
4b41cfa
update filter log
nhathoang989 Sep 23, 2023
bb59dcf
Merge pull request #697 from mixcore/feature/update-log-service
nhathoang989 Sep 24, 2023
cdea97f
clean
nhathoang989 Sep 24, 2023
0653a52
fix queue log
nhathoang989 Sep 26, 2023
80d8363
Merge pull request #698 from mixcore/feature/cleanup-signalr-tenant
nhathoang989 Sep 26, 2023
94c5ecf
Add or update the Azure App Service build and deployment workflow config
nhathoang989 Sep 27, 2023
28d496b
Update develop_dev-mixcore.yml
nhathoang989 Sep 27, 2023
97a6167
Merge account user and sysUserData
truongtphat Oct 3, 2023
8c5064c
Merger account user and sysUserData
truongtphat Oct 3, 2023
53d4f82
Merge pull request #699 from mixcore/feature/merge_account_user_and_s…
truongtphat Oct 3, 2023
09cde2b
update global config
nhathoang989 Sep 27, 2023
ada1cac
update
nhathoang989 Sep 27, 2023
e471ed9
clean up warning
nhathoang989 Sep 27, 2023
1479ca9
update
nhathoang989 Sep 27, 2023
36f25fe
move default mixcontent to mixcore
nhathoang989 Oct 1, 2023
8c938e6
update global settings
nhathoang989 Oct 1, 2023
2ed3afa
update
nhathoang989 Oct 8, 2023
4fa39ce
update default mixcontent folder
nhathoang989 Oct 8, 2023
0228380
Merge pull request #700 from mixcore/features/cleanup-startup
nhathoang989 Oct 8, 2023
b3929e2
clean up
nhathoang989 Oct 9, 2023
157e5db
Merge pull request #701 from mixcore/feature/cleanup-default-mixcontent
nhathoang989 Oct 9, 2023
7d46035
fix sync system databases
nhathoang989 Oct 11, 2023
b65a188
Merge pull request #702 from mixcore/features/fix-migrate-sytem-datab…
nhathoang989 Oct 11, 2023
5eb58ab
fix DI ecommerce
nhathoang989 Oct 11, 2023
4cd83ab
fix posgres table name
nhathoang989 Oct 12, 2023
1b6314e
clean up cors policy
nhathoang989 Oct 12, 2023
d8e4608
update
nhathoang989 Oct 13, 2023
d16c090
update MixApp package version
nhathoang989 Oct 14, 2023
f56c110
fix bug mix app
nhathoang989 Oct 14, 2023
d05198e
update
nhathoang989 Oct 14, 2023
0d46fbf
update mix application
nhathoang989 Oct 15, 2023
ff68f95
update
nhathoang989 Oct 16, 2023
3556fa8
fix bugs
nhathoang989 Oct 16, 2023
0e5def7
update regex
nhathoang989 Oct 16, 2023
17caaa2
update regex
nhathoang989 Oct 17, 2023
3ef9a11
update modified file extensions
nhathoang989 Oct 17, 2023
a020baf
Merge pull request #703 from mixcore/features/fix-migrate-sytem-datab…
nhathoang989 Oct 17, 2023
403f61b
fix bugs
nhathoang989 Oct 18, 2023
1fb050c
Merge pull request #704 from mixcore/feature-fix-bug-mix-app
nhathoang989 Oct 18, 2023
a455f34
Update develop_dev-mixcore.yml
nhathoang989 Oct 18, 2023
cbf0f2a
Merge pull request #705 from mixcore/update-git-action-dev-mixcore
nhathoang989 Oct 18, 2023
46ef8ac
move install app to queue
nhathoang989 Oct 19, 2023
579c110
fix bugs
nhathoang989 Oct 19, 2023
c82ed86
fix view
nhathoang989 Oct 19, 2023
04c1928
fix bugs
nhathoang989 Oct 20, 2023
468bdd1
update regex
nhathoang989 Oct 21, 2023
9364c59
upd
nhathoang989 Oct 31, 2023
f9919c1
fix parse mixdb entity
nhathoang989 Nov 3, 2023
a3e1fb3
update
nhathoang989 Nov 8, 2023
c0924e3
install schema
nhathoang989 Nov 8, 2023
fa2184a
upd
nhathoang989 Nov 8, 2023
7269f0b
fix create new theme on import app
nhathoang989 Nov 9, 2023
3b33c21
remove action
nhathoang989 Nov 9, 2023
c801f4c
Merge pull request #706 from mixcore/features/move-install-app-to-queue
nhathoang989 Nov 9, 2023
c4d6b15
init
nhathoang989 Nov 10, 2023
c627471
init oauth lib
nhathoang989 Nov 11, 2023
65b652d
upd
nhathoang989 Nov 11, 2023
81b5dc3
clean up
nhathoang989 Nov 18, 2023
817b97e
Merge pull request #707 from mixcore/features/auth-add-client-credential
nhathoang989 Nov 18, 2023
a091f94
upgrade packages net 8
nhathoang989 Nov 18, 2023
14526ea
fix logging
nhathoang989 Nov 19, 2023
7ef4b4b
Merge pull request #708 from mixcore/features/upgrade-net8
nhathoang989 Nov 19, 2023
f908b71
cleanup models
nhathoang989 Nov 19, 2023
ea38a4c
clean up
nhathoang989 Nov 19, 2023
07c4c13
update
nhathoang989 Nov 19, 2023
b0cda39
clean up
nhathoang989 Nov 19, 2023
e474613
upgrade ocelot
nhathoang989 Nov 19, 2023
b21cd28
upd
nhathoang989 Nov 22, 2023
7de0de3
update oauth
nhathoang989 Nov 22, 2023
5e5adac
upd heart
nhathoang989 Nov 22, 2023
f9d08f3
update oauth entities
nhathoang989 Nov 25, 2023
9f20028
update mix oauth models
nhathoang989 Nov 25, 2023
f77c5b6
fix DI
nhathoang989 Nov 25, 2023
7e2f337
update sqlite account migration
nhathoang989 Nov 25, 2023
20daccd
update account db migration
nhathoang989 Nov 26, 2023
7542629
clean up oauth
nhathoang989 Nov 26, 2023
32e11da
add oauth client management
nhathoang989 Nov 26, 2023
519df1f
Merge pull request #710 from mixcore/features/refactor-mix-auth
nhathoang989 Nov 26, 2023
c21133e
cleanup warnings
nhathoang989 Nov 27, 2023
efb1305
init aspire
nhathoang989 Dec 1, 2023
690dbd4
update
nhathoang989 Dec 1, 2023
d86a119
update portal
nhathoang989 Dec 1, 2023
c03beae
Merge pull request #711 from mixcore/features/apply-ms-aspire
nhathoang989 Dec 2, 2023
1f27367
init mix mq
nhathoang989 Dec 2, 2023
4ee794d
update mix mq
nhathoang989 Dec 2, 2023
5855280
refactor mix mq
nhathoang989 Dec 2, 2023
913d7ae
Merge pull request #712 from mixcore/features/mix-message-queue
nhathoang989 Dec 2, 2023
d3e1a30
fix theme
nhathoang989 Dec 5, 2023
fea9c92
Merge pull request #713 from mixcore/features/fix-default-theme
nhathoang989 Dec 5, 2023
6ab3f5c
Fix repodb npgsql connection cannot insert / update guid value
nhathoang989 Dec 9, 2023
83059f3
Merge pull request #722 from mixcore/features/fix-npgsql-cannot-inser…
nhathoang989 Dec 9, 2023
d4bcf55
cleanup folder names
nhathoang989 Dec 16, 2023
ed62f72
cleanup sln structure
nhathoang989 Dec 16, 2023
2bcc51e
upd
nhathoang989 Dec 16, 2023
d796f2e
clean up
nhathoang989 Dec 17, 2023
ed5ee54
clean up
nhathoang989 Dec 24, 2023
d59510b
Merge pull request #723 from mixcore/features/cleanup-folder-name
nhathoang989 Dec 24, 2023
c5b5349
clean up
nhathoang989 Dec 30, 2023
8a4536d
update heart
nhathoang989 Dec 30, 2023
27acb12
Merge pull request #724 from mixcore/features/cleanup
nhathoang989 Dec 30, 2023
52a2997
fix sqlite
nhathoang989 Dec 30, 2023
ea5362c
Merge pull request #725 from mixcore/featuers/fix-mix-sqlite
nhathoang989 Dec 30, 2023
97fb72e
Refactor mq
nhathoang989 Dec 31, 2023
bc2e845
Merge pull request #726 from mixcore/features/refactor-mq
nhathoang989 Dec 31, 2023
21bcdcc
fix mixdb permission
nhathoang989 Jan 1, 2024
6caa747
Merge pull request #727 from mixcore/features/fix-mixdb-permission
nhathoang989 Jan 1, 2024
4c85a93
clean mix mq
nhathoang989 Jan 1, 2024
c869e6b
Merge pull request #728 from mixcore/features/clean-mix-mq
nhathoang989 Jan 1, 2024
53b7ef2
fix default theme
nhathoang989 Jan 6, 2024
0aa9a2b
update mix mq
nhathoang989 Jan 20, 2024
fbde647
fix concurrent
nhathoang989 Jan 20, 2024
1e54ea1
Merge pull request #729 from mixcore/featues/update-mix-mq
nhathoang989 Jan 20, 2024
b35831f
init rabbit mq
nhathoang989 Jan 20, 2024
b1ba755
Merge pull request #730 from mixcore/features/rabbitmq
nhathoang989 Jan 20, 2024
251cfb1
up
nhathoang989 Feb 4, 2024
7fc8658
upd theme
nhathoang989 Feb 4, 2024
28d1dbc
Merge pull request #731 from mixcore/features/cleanup
nhathoang989 Feb 4, 2024
b6aab07
Update latest net packages (#733)
nhathoang989 Sep 1, 2024
981707d
upgrade net 9
eric4ps Feb 13, 2025
bdb0e05
Merge pull request #740 from mixcore/features/upgrade-net9
Smilefounder Feb 14, 2025
8d7585c
upd
eric4ps Feb 14, 2025
1fbae51
upd
eric4ps Feb 15, 2025
438bf60
upd
eric4ps Feb 16, 2025
9801f51
upd
eric4ps Feb 16, 2025
d9ae816
upd
eric4ps Feb 16, 2025
3ad4e2e
Merge branch 'bugfix/fix-upgrade-net9' into develop
eric4ps Feb 16, 2025
9f94936
upd
eric4ps Feb 16, 2025
598a703
add hybrid cache
eric4ps Feb 17, 2025
970ed7e
update entity configurations
eric4ps Feb 18, 2025
66082ca
upd
eric4ps Feb 18, 2025
663cc06
upd
eric4ps Feb 18, 2025
4cd4f09
upd
eric4ps Feb 18, 2025
584996c
upd
eric4ps Feb 18, 2025
210a5e4
upd
eric4ps Feb 18, 2025
29bc93e
update config
eric4ps Feb 19, 2025
8c37f38
update refresh token
eric4ps Feb 19, 2025
7bc3ee9
Merge branch 'develop'
Smilefounder Mar 2, 2025
b2415c5
Add new feature - workflow (#748)
nhathoang989 Apr 5, 2025
9583a48
Feature/resole conflict v1 (#754)
nhathoang989 Apr 5, 2025
597fa97
update README
Smilefounder Apr 5, 2025
c1e8eca
clean up root folder
Smilefounder Apr 5, 2025
5099166
clean root
Smilefounder Apr 5, 2025
51fbe3b
upd docker and readme
Smilefounder Apr 5, 2025
70d5012
upd
Smilefounder Apr 5, 2025
183b22b
upd docker files
Smilefounder Apr 5, 2025
1ac5bd4
add cloud cicd
Smilefounder Apr 5, 2025
d1eade3
Merge pull request #755 from mixcore/refactor-docs
Smilefounder Apr 5, 2025
e9f783c
Add wiki repository as submodule in docs/wiki directory
Smilefounder Apr 5, 2025
9409d3d
Merge pull request #756 from mixcore/refactor-docs
Smilefounder Apr 5, 2025
e5c96a8
Update heart master (#759)
nhathoang989 Apr 6, 2025
3cad5e8
bug docker TODO
Smilefounder Apr 6, 2025
d5e9c77
TODO: dockerfile build error
Smilefounder Apr 6, 2025
2a57ff8
fix build error
Smilefounder Apr 6, 2025
703b192
upd docker
Smilefounder Apr 6, 2025
d093b84
upd
Smilefounder Apr 6, 2025
94a0c1c
fix docker build fail
Smilefounder Apr 6, 2025
8e9ca3a
ignore nodemofules
Smilefounder Apr 6, 2025
9b1bae3
ignore docs submodule
Smilefounder Apr 6, 2025
d1ade41
upd mix-heart master
Smilefounder Apr 6, 2025
cc4cbaf
Update LICENSE
Smilefounder Apr 16, 2025
18ab6af
Mixcore License Update: Balancing Open Source Community & Commercial …
Smilefounder Apr 16, 2025
24ad3de
Update LICENSE
Smilefounder Apr 17, 2025
d2697b7
Merge pull request #761 from mixcore/Smilefounder-patch-1
Smilefounder Apr 17, 2025
24d36f5
Update README.md
Smilefounder Apr 17, 2025
19cf580
Update README.md
Smilefounder Apr 17, 2025
1eb5ead
Merge pull request #764 from mixcore/Smilefounder-patch-2
Smilefounder Apr 17, 2025
bf76814
add llms files
Smilefounder Apr 21, 2025
60a25fb
add DeepWiki
Smilefounder May 18, 2025
efa2f63
Merge pull request #772 from mixcore/Smilefounder-patch-3
Smilefounder May 18, 2025
86c2607
Update CI/CD workflows and configuration files
Smilefounder May 31, 2025
b15c16b
Remove deprecated files and configurations from portal-app
Smilefounder May 31, 2025
ff97177
Refactor VSCode configurations and build tasks for Mixcore applications
Smilefounder May 31, 2025
9380821
Add MCP Server (#773)
nhathoang989 Jun 3, 2025
c40ae3f
Enhance clarity and formatting in prompt methods
nhathoang989 Jun 3, 2025
72d060b
Update connection settings and remove SQLite file
nhathoang989 Jun 3, 2025
91ded75
Fix migrate MixDb (#779)
nhathoang989 Jun 9, 2025
4cae792
Refactor database migrations for MySQL and PostgreSQL (#781)
nhathoang989 Jun 11, 2025
48bd95a
mprovements to the initialization (#782)
nhathoang989 Jul 12, 2025
f83f020
Initial plan
Copilot Jul 30, 2025
f9bfa16
Add Deploy to DigitalOcean button with App Platform template
Copilot Jul 30, 2025
8b35630
Replace deploy button with DigitalOcean referral badge using Mixcore …
Copilot Jul 30, 2025
7e8a90a
Add multiple DigitalOcean deployment options with cost optimization l…
Copilot Jul 30, 2025
e55de5b
Add referral code to all DigitalOcean deployment template URLs
Copilot Jul 30, 2025
11a4583
Fix DigitalOcean deployment URL format - remove app_spec_path paramet…
Copilot Jul 30, 2025
f25295e
Merge pull request #787 from mixcore/copilot/fix-71eb4726-b407-4a4f-9…
Smilefounder Jul 30, 2025
c67dda4
Bump SixLabors.ImageSharp from 3.1.7 to 3.1.11
dependabot[bot] Jul 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 0 additions & 14 deletions .circleci/config.yml

This file was deleted.

75 changes: 75 additions & 0 deletions .cursor/rules/dotnet-core.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
description:
globs:
alwaysApply: true
---

# .NET Development Rules

You are a senior .NET backend developer and an expert in C#, ASP.NET Core, and Entity Framework Core.

## Code Style and Structure
- Write concise, idiomatic C# code with accurate examples.
- Follow .NET and ASP.NET Core conventions and best practices.
- Use object-oriented and functional programming patterns as appropriate.
- Prefer LINQ and lambda expressions for collection operations.
- Use descriptive variable and method names (e.g., 'IsUserSignedIn', 'CalculateTotal').
- Structure files according to .NET conventions (Controllers, Models, Services, etc.).

## Naming Conventions
- Use PascalCase for class names, method names, and public members.
- Use camelCase for local variables and private fields.
- Use UPPERCASE for constants.
- Prefix interface names with "I" (e.g., 'IUserService').

## C# and .NET Usage
- Use C# 10+ features when appropriate (e.g., record types, pattern matching, null-coalescing assignment).
- Leverage built-in ASP.NET Core features and middleware.
- Use Entity Framework Core effectively for database operations.

## Syntax and Formatting
- Follow the C# Coding Conventions (https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions)
- Use C#'s expressive syntax (e.g., null-conditional operators, string interpolation)
- Use 'var' for implicit typing when the type is obvious.

## Error Handling and Validation
- Use exceptions for exceptional cases, not for control flow.
- Implement proper error logging using built-in .NET logging or a third-party logger.
- Use Data Annotations or Fluent Validation for model validation.
- Implement global exception handling middleware.
- Return appropriate HTTP status codes and consistent error responses.

## API Design
- Follow RESTful API design principles.
- Use attribute routing in controllers.
- Implement versioning for your API.
- Use action filters for cross-cutting concerns.

## Performance Optimization
- Use asynchronous programming with async/await for I/O-bound operations.
- Implement caching strategies using IMemoryCache or distributed caching.
- Use efficient LINQ queries and avoid N+1 query problems.
- Implement pagination for large data sets.

## Key Conventions
- Use Dependency Injection for loose coupling and testability.
- Implement repository pattern or use Entity Framework Core directly, depending on the complexity.
- Use AutoMapper for object-to-object mapping if needed.
- Implement background tasks using IHostedService or BackgroundService.

## Testing
- Write unit tests using xUnit, NUnit, or MSTest.
- Use Moq or NSubstitute for mocking dependencies.
- Implement integration tests for API endpoints.

## Security
- Use Authentication and Authorization middleware.
- Implement JWT authentication for stateless API authentication.
- Use HTTPS and enforce SSL.
- Implement proper CORS policies.

## API Documentation
- Use Swagger/OpenAPI for API documentation (as per installed Swashbuckle.AspNetCore package).
- Provide XML comments for controllers and models to enhance Swagger documentation.

Follow the official Microsoft documentation and ASP.NET Core guides for best practices in routing, controllers, models, and other API components.
22 changes: 21 additions & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,24 @@ version = 1

[[analyzers]]
name = "csharp"
enabled = true
enabled = true

[analyzers.meta]
dotnet_version = "9.0.x"
skip_doc_coverage = ["test", "tests", "Test", "Tests"]

[[analyzers]]
name = "secrets"
enabled = true

[[analyzers]]
name = "docker"
enabled = true

[[transformers]]
name = "autopep8"
enabled = false

[[transformers]]
name = "dotnet-format"
enabled = true
68 changes: 68 additions & 0 deletions .do/app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# DigitalOcean App Platform deployment template for Mixcore CMS - Standard Configuration
# Deploy to: https://cloud.digitalocean.com/apps/new?refcode=4d26c2aaade2
# Configuration: Mixcore + MySQL + Redis (Recommended for most use cases)
# Estimated cost: ~$42/month
#
# For other configurations, see:
# - deploy-basic.yaml (MySQL only, ~$27/month)
# - deploy-dev.yaml (Development/testing, ~$32/month)
# - deploy-postgresql.yaml (PostgreSQL + Redis, ~$42/month)
# - deploy-production.yaml (High-performance, ~$84/month)
spec:
name: mixcore-cms-standard
region: nyc1

# Database services
databases:
- name: mixcore-mysql
engine: MYSQL
version: "8"
size: db-s-1vcpu-1gb
num_nodes: 1

- name: mixcore-redis
engine: REDIS
version: "7"
size: db-s-1vcpu-1gb
num_nodes: 1

# Main application service
services:
- name: mixcore-web
environment_slug: docker
git:
branch: develop
repo_clone_url: https://github.com/mixcore/mix.core
dockerfile_path: Dockerfile
http_port: 80
instance_count: 1
instance_size_slug: apps-s-1vcpu-1gb

health_check:
http_path: /health
initial_delay_seconds: 60
period_seconds: 30
timeout_seconds: 10
success_threshold: 1
failure_threshold: 3

routes:
- path: /

# Environment variables
envs:
- key: ASPNETCORE_ENVIRONMENT
value: Production
scope: RUN_TIME
- key: ASPNETCORE_URLS
value: http://+:80
scope: RUN_TIME
- key: ConnectionStrings__MixDbContext
value: ${mixcore-mysql.DATABASE_URL}
scope: RUN_TIME
- key: Redis__ConnectionString
value: ${mixcore-redis.DATABASE_URL}
scope: RUN_TIME
- key: ASPNETCORE_FORWARDEDHEADERS_ENABLED
value: "true"
scope: RUN_TIME
53 changes: 53 additions & 0 deletions .do/deploy-basic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# DigitalOcean App Platform deployment template for Mixcore CMS - Basic Configuration
# Deploy to: https://cloud.digitalocean.com/apps/new?refcode=4d26c2aaade2
# Configuration: Mixcore + MySQL (No Redis cache)
# Estimated cost: ~$27/month
spec:
name: mixcore-cms-basic
region: nyc1

# Database services
databases:
- name: mixcore-mysql
engine: MYSQL
version: "8"
size: db-s-1vcpu-1gb
num_nodes: 1

# Main application service
services:
- name: mixcore-web
environment_slug: docker
git:
branch: develop
repo_clone_url: https://github.com/mixcore/mix.core
dockerfile_path: Dockerfile
http_port: 80
instance_count: 1
instance_size_slug: apps-s-1vcpu-1gb

health_check:
http_path: /health
initial_delay_seconds: 60
period_seconds: 30
timeout_seconds: 10
success_threshold: 1
failure_threshold: 3

routes:
- path: /

# Environment variables
envs:
- key: ASPNETCORE_ENVIRONMENT
value: Production
scope: RUN_TIME
- key: ASPNETCORE_URLS
value: http://+:80
scope: RUN_TIME
- key: ConnectionStrings__MixDbContext
value: ${mixcore-mysql.DATABASE_URL}
scope: RUN_TIME
- key: ASPNETCORE_FORWARDEDHEADERS_ENABLED
value: "true"
scope: RUN_TIME
62 changes: 62 additions & 0 deletions .do/deploy-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# DigitalOcean App Platform deployment template for Mixcore CMS - Development Configuration
# Deploy to: https://cloud.digitalocean.com/apps/new?refcode=4d26c2aaade2
# Configuration: Mixcore + MySQL + Redis (Smallest instances for development/testing)
# Estimated cost: ~$32/month
spec:
name: mixcore-cms-dev
region: nyc1

# Database services
databases:
- name: mixcore-mysql
engine: MYSQL
version: "8"
size: db-s-1vcpu-1gb
num_nodes: 1

- name: mixcore-redis
engine: REDIS
version: "7"
size: db-s-1vcpu-1gb
num_nodes: 1

# Main application service
services:
- name: mixcore-web
environment_slug: docker
git:
branch: develop
repo_clone_url: https://github.com/mixcore/mix.core
dockerfile_path: Dockerfile
http_port: 80
instance_count: 1
instance_size_slug: apps-s-1vcpu-512mb

health_check:
http_path: /health
initial_delay_seconds: 60
period_seconds: 30
timeout_seconds: 10
success_threshold: 1
failure_threshold: 3

routes:
- path: /

# Environment variables
envs:
- key: ASPNETCORE_ENVIRONMENT
value: Development
scope: RUN_TIME
- key: ASPNETCORE_URLS
value: http://+:80
scope: RUN_TIME
- key: ConnectionStrings__MixDbContext
value: ${mixcore-mysql.DATABASE_URL}
scope: RUN_TIME
- key: Redis__ConnectionString
value: ${mixcore-redis.DATABASE_URL}
scope: RUN_TIME
- key: ASPNETCORE_FORWARDEDHEADERS_ENABLED
value: "true"
scope: RUN_TIME
65 changes: 65 additions & 0 deletions .do/deploy-postgresql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# DigitalOcean App Platform deployment template for Mixcore CMS - PostgreSQL Configuration
# Deploy to: https://cloud.digitalocean.com/apps/new?refcode=4d26c2aaade2
# Configuration: Mixcore + PostgreSQL + Redis (Alternative database choice)
# Estimated cost: ~$42/month
spec:
name: mixcore-cms-postgresql
region: nyc1

# Database services
databases:
- name: mixcore-postgres
engine: PG
version: "15"
size: db-s-1vcpu-1gb
num_nodes: 1

- name: mixcore-redis
engine: REDIS
version: "7"
size: db-s-1vcpu-1gb
num_nodes: 1

# Main application service
services:
- name: mixcore-web
environment_slug: docker
git:
branch: develop
repo_clone_url: https://github.com/mixcore/mix.core
dockerfile_path: Dockerfile
http_port: 80
instance_count: 1
instance_size_slug: apps-s-1vcpu-1gb

health_check:
http_path: /health
initial_delay_seconds: 60
period_seconds: 30
timeout_seconds: 10
success_threshold: 1
failure_threshold: 3

routes:
- path: /

# Environment variables
envs:
- key: ASPNETCORE_ENVIRONMENT
value: Production
scope: RUN_TIME
- key: ASPNETCORE_URLS
value: http://+:80
scope: RUN_TIME
- key: ConnectionStrings__MixDbContext
value: ${mixcore-postgres.DATABASE_URL}
scope: RUN_TIME
- key: Redis__ConnectionString
value: ${mixcore-redis.DATABASE_URL}
scope: RUN_TIME
- key: ASPNETCORE_FORWARDEDHEADERS_ENABLED
value: "true"
scope: RUN_TIME
- key: DatabaseProvider
value: "POSTGRESQL"
scope: RUN_TIME
Loading