-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Monica instead of Chandler in docker-compose #7333
Comments
@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:
|
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... |
ok, unsure if this was the right approach but i did:
found one and saw a url that looks like :
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. |
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:
- data:/var/www/html/storage
restart: always
depends_on:
- db
- redis
db:
image: mariadb:11
env_file: .env
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_DATABASE=monica
- MYSQL_USER=monica
volumes:
- 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:
- data:/var/www/html/storage
depends_on:
- db
- redis
queue:
build: ./app
image: monica-app
command: queue.sh
env_file: .env
restart: always
volumes:
- data:/var/www/html/storage
depends_on:
- db
- redis
web:
build: ./web
image: monica-web
restart: always
ports:
- 8289:80
volumes:
- data:/var/www/html/storage:ro
depends_on:
- app
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
The text was updated successfully, but these errors were encountered: