Closed hycday closed 2 weeks ago
@Szeraax as discussed :)
You need to use the official beta image if you wanna use the v5 branch :D You can view them all here: https://hub.docker.com/_/monica Notice the ones that are starting with 5? Those ones!
Here is my compose that I have running for this TESTING ONLY setup. I mention TESTING ONLY because I don't have any volume that I care about here. No db of any kind. And I use my env settings for the few settings there. Like so:
version: "3.9"
name: chandler
services:
monica:
container_name: monica
image: monica:5.0.0-beta.4-apache
environment:
- DB_HOST=db
- DB_USERNAME=${DB_USER}
- DB_PASSWORD=${DB_PASS}
- APP_ENV=production
- APP_URL=${MY_ACCESS_URL}
- APP_TRUSTED_PROXIES=*
- MAIL_MAILER=log
ports:
- 45008:80
restart: unless-stopped
networks: {}
.env file:
DB_USER=chandler
DB_PASS=Purplish3-Paralyze-Campsite
MY_ACCESS_URL=192.168.1.84:45008
so... good news is that it works now :) thank you @Szeraax
"bad" news is that i don't have an email server and i cannot verify my account... i tried putting "MAIL_MAILER=log" but I don't know where to look for the info, any help would be appreciated
ok, unsure if this was the right approach but i did:
find / -name "*.log" -mmin -60 2>/dev/null
looked for log files related to the docker
found one
did
grep -i "verify" file.log
and saw a url that looks like :
https://DOMAIN/email/verify/UUID/OTHERUUID?expires=TIMESTAMP&signature=OTHERUUID
opened it in a browser and it worked :)
so i'll close this ticket, but still curious about what would have been the approach to find the log otherwise if that was not the right approach
Yup, putting it in the log is exactly what I did so that I didn't have to put in my gmail auth token. Glad you got it.
⚠️ This issue respects the following points: ⚠️
Bug description
Despite using the Chandler image, i still get Monica install
Steps to reproduce
Hi all,
Here is my docker-compose.yml :
`version: "3.3"
services: app: build: ./app image: ghcr.io/monicahq/monica-next:main env_file: .env volumes:
redis
db: image: mariadb:11 env_file: .env environment:
mysql:/var/lib/mysql restart: always
redis: image: redis:alpine restart: always
cron: cron: build: ./app image: monica-app command: cron.sh env_file: .env restart: always volumes:
redis
queue: build: ./app image: monica-app command: queue.sh env_file: .env restart: always volumes:
redis
web: build: ./web image: monica-web restart: always ports:
volumes: data: mysql: `
install works well, and docker runs without any issue, however what I get is Monica Version: 4.1.2 and not Version 5.X.X
I tried of course stopping the docker containers, removing them, removing the images and volumes, and reinstalling, didnt change anything...
Can you please guide me ?
Expected behavior
I am expecting to have Chandler (or Monica v 5.x.x) installed
Environment
Your own self-hosted instance (v5 a.k.a chandler version or main branch)
Version of Monica
4.1.2
Installation method
Docker image
Web server
None
Database engine version
None
Additional info
No response