Portainer Templates

Monica

Social

Monica is a great open source personal relationship management system to organize the interactions with your loved ones.

Type Kubernetes Platform linux Sourced Repo

Services

monica-app

Image monica:apache Ports

818:80

Volumes

/var/www/html/storage : /portainer/Files/AppData/Config/monica

Restart Policy always Env Vars

DB_HOST=dbDB_USERNAME=monicaDB_PASSWORD=secret

Pulls: 11.7M
Stars: 202
User: library
Created: Aug 26, 2020
Updated: 5 days ago
Status: active

monica-db

Image mysql:5.7 Volumes

/var/lib/mysql : /portainer/Files/AppData/Config/monica/mysql

Restart Policy always Env Vars

MYSQL_RANDOM_ROOT_PASSWORD=trueMYSQL_DATABASE=monicaMYSQL_USER=monicaMYSQL_PASSWORD=secret

Pulls: 4.5B
Stars: 15.5k
User: stackbrew
Created: Jun 05, 2014
Updated: 5 days ago
Status: active

Installation

Via Portainer

  1. Ensure both Docker and Portainer are installed, and up-to-date
  2. Log into your Portainer web UI
  3. Under Settings → App Templates, paste the below URL
  4. Head to Home → App Templates, and the list of apps will show up
  5. Select the app you wish to deploy, fill in any config options, and hit Deploy

Template Import URL

https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json
Show Me demo

Via Docker Run

Service #1 - monica-app

docker run --name monica-app -d \
 -e "db" \
 -e "monica" \
 -e "secret" \
 -p 818:80 \
 -v /portainer/Files/AppData/Config/monica:/var/www/html/storage \
 --restart=always \
 monica:apache

Service #2 - monica-db

docker run --name monica-db -d \
 -e "true" \
 -e "monica" \
 -e "monica" \
 -e "secret" \
 -v /portainer/Files/AppData/Config/monica/mysql:/var/lib/mysql \
 --restart=always \
 mysql:5.7

Via Docker Compose

Save this file as docker-compose.yml and run docker-compose up -d
Use this only as a guide.

- name: monica-app
  image: monica:apache
  ports:
    - '818:80'
  volumes:
    - bind: /portainer/Files/AppData/Config/monica
      container: /var/www/html/storage
  restart_policy: always
  env:
    - name: DB_HOST
      value: db
    - name: DB_USERNAME
      value: monica
    - name: DB_PASSWORD
      value: secret
- name: monica-db
  image: mysql:5.7
  volumes:
    - bind: /portainer/Files/AppData/Config/monica/mysql
      container: /var/lib/mysql
  restart_policy: always
  env:
    - name: MYSQL_RANDOM_ROOT_PASSWORD
      value: 'true'
    - name: MYSQL_DATABASE
      value: monica
    - name: MYSQL_USER
      value: monica
    - name: MYSQL_PASSWORD
      value: secret

Alternative Methods

For more installation options, see the Documentation in the GitHub repo

Container Documentation

monica-app Documentation

Monica – the Personal Relationship Manager.

monica-db Documentation

MySQL is a widely used, open-source relational database management system (RDBMS).