Closed vncloudsco closed 1 year ago
test code:
{
"cosmos-installer": {},
"minVersion": "0.8.0",
"services": {
"{ServiceName}": {
"image": "monica:fpm",
"container_name": "{ServiceName}",
"hostname": "{ServiceName}",
"volumes": [
{
"source": "{ServiceName}-monica-data",
"target": "/var/www/html/storage",
"type": "volume"
}
],
"environment": [
"APP_KEY=base64:7ZCNatgavRKG9zh67rc2JP+PAUewZA5UABnMgpGSieA=",
"DB_PASSWORD={Passwords.1}",
"DB_HOST={ServiceName}-db",
"DB_PORT=3306",
"DB_USERNAME=monica",
"DB_DATABASE=monica"
],
"networks": {
"{ServiceName}": {}
},
"labels": {
"cosmos-persistent-env": "DB_PASSWORD, DB_HOST, DB_PORT, DB_USERNAME",
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true",
"cosmos-icon": "https://comos.manhtuong.net/servapps/Monica/icon.png"
},
"routes": [{
"name": "{ServiceName}",
"description": "Expose {ServiceName} to the web",
"useHost": true,
"target": "http://{ServiceName}:80",
"mode": "SERVAPP",
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"SmartShield": {
"Enabled": true
}
}]
},
"{ServiceName}-db": {
"image": "docker.io/bitnami/mariadb:11.1",
"container_name": "{ServiceName}-db",
"hostname": "{ServiceName}-db",
"restart": "unless-stopped",
"networks": {
"{ServiceName}": {}
},
"volumes": [
{
"source": "{ServiceName}-db",
"target": "/bitnami/mariadb",
"type": "volume"
}
],
"environment": [
"MARIADB_DATABASE=monica",
"MARIADB_USER=monica",
"MARIADB_PASSWORD={Passwords.1}",
"MARIADB_ROOT_PASSWORD={Passwords.2}"
],
"labels": {
"cosmos-persistent-env": "MARIADB_DATABASE, MARIADB_USER, MARIADB_PASSWORD, MARIADB_ROOT_PASSWORD",
"cosmos-force-network-secured": "true"
}
}
},
"networks": {
"{ServiceName}": {}
}
}
Full support with merge: https://github.com/TinyActive/cosmos-servapps-official/pull/16
Is your feature request related to a software? Please describe.
Monica is a great open source personal relationship management system to organize the interactions with your loved ones.
Describe the solution you'd like
Monica
Link to docker hub or docker compose file on github
https://hub.docker.com/_/monica
Additional context Monica Full Support