added missing env option for monica and a little change (#351)
* added missing env option for monica & and a little change * added missing env option for monica and a little change
This commit is contained in:
parent
f217b81e30
commit
96f8cc2cc7
|
|
@ -4,7 +4,7 @@ services:
|
||||||
$$cap_appname:
|
$$cap_appname:
|
||||||
depends_on:
|
depends_on:
|
||||||
- $$cap_appname-mariadb
|
- $$cap_appname-mariadb
|
||||||
image: monica@$$cap_monica_version
|
image: monica:$$cap_monica_version
|
||||||
restart: 'always'
|
restart: 'always'
|
||||||
environment:
|
environment:
|
||||||
APP_KEY: $$cap_gen_random_hex(32)
|
APP_KEY: $$cap_gen_random_hex(32)
|
||||||
|
|
@ -12,6 +12,7 @@ services:
|
||||||
DB_DATABASE: $$cap_mariadb-db
|
DB_DATABASE: $$cap_mariadb-db
|
||||||
DB_USERNAME: $$cap_mariadb-user
|
DB_USERNAME: $$cap_mariadb-user
|
||||||
DB_PASSWORD: $$cap_mariadb-pass
|
DB_PASSWORD: $$cap_mariadb-pass
|
||||||
|
APP_ENV: 'production'
|
||||||
volumes:
|
volumes:
|
||||||
- $$cap_appname-storage:/var/www/html/storage
|
- $$cap_appname-storage:/var/www/html/storage
|
||||||
# MariaDB
|
# MariaDB
|
||||||
|
|
@ -30,9 +31,9 @@ services:
|
||||||
caproverOneClickApp:
|
caproverOneClickApp:
|
||||||
variables:
|
variables:
|
||||||
- id: $$cap_monica_version
|
- id: $$cap_monica_version
|
||||||
label: Monica Docker Hash
|
label: Monica Docker version
|
||||||
defaultValue: sha256:469001036f96018b94312dd017678123aa23d56816ba6402ed03c6a8d1805a92
|
defaultValue: '2.19.1'
|
||||||
description: Starts with 'sha256:'. Find on https://hub.docker.com/_/monica?tab=tags. Use the hash from Apache tag otherwise it won't work.
|
description: Checkout this page for the valid tags Find on https://hub.docker.com/_/monica?tab=tags. Use the Apache tag otherwise it won't work.
|
||||||
- id: $$cap_mariadb_version
|
- id: $$cap_mariadb_version
|
||||||
label: MariaDB Version
|
label: MariaDB Version
|
||||||
defaultValue: '10.5.6'
|
defaultValue: '10.5.6'
|
||||||
|
|
@ -55,7 +56,7 @@ caproverOneClickApp:
|
||||||
end: >-
|
end: >-
|
||||||
Aaaand you're done! 😄
|
Aaaand you're done! 😄
|
||||||
|
|
||||||
Wait approximately 1 minutes until all migrations are done and then access Monica at http://$$cap_appname.$$cap_root_domain from your host system. If this looks ok, add your first user account.
|
Wait approximately 1 minutes until all migrations are done and then access Monica at https://$$cap_appname.$$cap_root_domain from your host system. If this looks ok, add your first user account.
|
||||||
displayName: 'Monica'
|
displayName: 'Monica'
|
||||||
isOfficial: true
|
isOfficial: true
|
||||||
description: Monica is a great open source personal relationship management system to organize the interactions with your loved ones.
|
description: Monica is a great open source personal relationship management system to organize the interactions with your loved ones.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue