diff --git a/monica/.env b/monica/.env new file mode 100644 index 0000000..8c2d9f8 --- /dev/null +++ b/monica/.env @@ -0,0 +1,4 @@ +APP_KEY= +DB_PASSWORD= +MAIL_PASSWORD= +MAILGUN_SECRET= \ No newline at end of file diff --git a/monica/docker-compose.yml b/monica/docker-compose.yml new file mode 100644 index 0000000..2feb633 --- /dev/null +++ b/monica/docker-compose.yml @@ -0,0 +1,58 @@ +version: '3.1' +services: + monica: + image: monica:fpm + restart: always + ports: + - 8082:9000 + volumes: + - /var/monica-data:/var/www/html/storage + environment: + - APP_ENV=production + - APP_DEBUG=false + - APP_KEY=${APP_KEY} + - HASH_SALT=ChangeMeBy20+KeyLength + - HASH_LENGTH=18 + - APP_URL=https://app.jaredtsmith.com + - DB_CONNECTION=mysql + - DB_HOST=sql.jaredtsmith.com + - DB_PORT=3306 + - DB_DATABASE=monica + - DB_USERNAME=monica + - DB_PASSWORD=${DB_PASSWORD} + - DB_PREFIX= + - DB_USE_UTF8MB4=true + - MAIL_DRIVER=mailgun + - MAIL_HOST=smtp.mailgun.org + - MAIL_PORT=25 + - MAIL_USERNAME=no-reply@app.jaredtsmith.com + - MAIL_PASSWORD=${MAIL_PASSWORD} + - MAIL_ENCRYPTION=null + - MAIL_FROM_ADDRESS=no-reply@app.jaredtsmith.com + - MAIL_FROM_NAME="Monica" + - APP_EMAIL_NEW_USERS_NOTIFICATION=no-reply@app.jaredtsmith.com + - MAILGUN_DOMAIN=app.jaredtsmith.com + - MAILGUN_SECRET=${MAILGUN_SECRET} + - APP_DEFAULT_LOCALE=en + - APP_DISABLE_SIGNUP=true + - APP_SIGNUP_DOUBLE_OPTIN=false + - APP_TRUSTED_PROXIES= + - APP_TRUSTED_CLOUDFLARE=false + - LOG_CHANNEL=daily + - CHECK_VERSION=true + - CACHE_DRIVER=database + - SESSION_DRIVER=file + - SESSION_LIFETIME=120 + - QUEUE_DRIVER=sync + - DEFAULT_FILESYSTEM=public + - MFA_ENABLED=false + - MOBILE_CLIENT_ID= + - MOBILE_CLIENT_SECRET= + - ALLOW_STATISTICS_THROUGH_PUBLIC_API_ACCESS=false + - POLICY_COMPLIANT=true + - REQUIRES_SUBSCRIPTION=false + - NUMBER_OF_ALLOWED_CONTACTS_FREE_ACCOUNT=10 + - DEFAULT_MAX_STORAGE_SIZE=1024 + - CARDDAV_ENABLED=true + - ENABLE_GEOLOCATION=false + - LOCATION_IQ_API_KEY= \ No newline at end of file