-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add predefined service template for Monica * Add Readme * Adjust access rights * Fix bugs * Fix typo * Fix race condition in test
- Loading branch information
1 parent
3d61be3
commit bc6f0b3
Showing
7 changed files
with
98 additions
and
19 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Monica | ||
Monica is an open-source personal relationship management system to organize interactions with the people around you. | ||
|
||
### Setup | ||
Monica is considered as backend service and can therefore be found in backends collection, when generating the compose configuration with Compose Generator. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"label": "Monica", | ||
"preselected": "false", | ||
"proxied": true, | ||
"files": [ | ||
{ | ||
"path": "service.yml", | ||
"type": "service" | ||
}, | ||
{ | ||
"path": "README.md", | ||
"type": "docs" | ||
}, | ||
{ | ||
"path": "environment.env", | ||
"type": "env" | ||
} | ||
], | ||
"questions": [ | ||
{ | ||
"text": "On which url is your Monica instance accessible from the outside?", | ||
"type": 2, | ||
"defaultValue": "http://localhost", | ||
"validator": "url", | ||
"variable": "MONICA_APP_URL" | ||
}, | ||
{ | ||
"text": "On which port you want to expose your Monica instance?", | ||
"type": 2, | ||
"defaultValue": "80", | ||
"validator": "port", | ||
"variable": "MONICA_PORT" | ||
}, | ||
{ | ||
"text": "Which version of Monica do you want to use?", | ||
"type": 2, | ||
"defaultValue": "3.4", | ||
"variable": "MONICA_VERSION" | ||
} | ||
], | ||
"volumes": [ | ||
{ | ||
"text": "Custom path for Monica data volume?", | ||
"defaultValue": "./volumes/monica-data", | ||
"variable": "VOLUME_MONICA_DATA", | ||
"advanced": true | ||
} | ||
], | ||
"secrets": [ | ||
{ | ||
"name": "Monica app key", | ||
"variable": "_PW_MONICA_APP_KEY", | ||
"length": 32 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
DB_HOST=database-mysql | ||
DB_DATABASE=${{MYSQL_DATABASE}} | ||
DB_USERNAME=${{MYSQL_USER}} | ||
DB_PASSWORD=${{_PW_MYSQL_USER}} | ||
APP_ENV=production | ||
APP_KEY=${{_PW_MONICA_APP_KEY}} | ||
APP_URL=${{MONICA_APP_URL}} | ||
APP_FORCE_URL=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
image: monica:${{MONICA_VERSION}} | ||
container_name: ${{PROJECT_NAME_CONTAINER}}-backend-monica | ||
restart: always | ||
networks: | ||
- backend-database | ||
ports: | ||
- ${{MONICA_PORT}}:80 | ||
volumes: | ||
- ${{VOLUME_MONICA_DATA}}:/var/www/html/storage | ||
env_file: | ||
- environment.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters