Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and mealie will automatically import the relevant data or add a family recipe with the UI editor
When adding a custom IP to the docker container I'm not able to access it anyhow.
I'm doing this with 30+ Container and every single one of them works just fine expect mealie, which leads me to believe it's an issue with mealie and not my network.
Thanks for looking into this!
Steps to Reproduce
1.) Create the docker container accoring to the sqlite docker-compose
2.) Verify the container is accesible on the docker hosts ip with the specified port
3.) add a custom IP adress and network to the container
4.) See that the container is not accessible on the new ip, but no logs.
Please provide relevant logs
User uid: 1000
User gid: 1000
INFO 2024-10-25T12:38:45 - Started server process [1]
INFO 2024-10-25T12:38:45 - Waiting for application startup.
INFO 2024-10-25T12:38:45 - start: database initialization
INFO 2024-10-25T12:38:45 - Database connection established.
INFO 2024-10-25T12:38:45 - Context impl SQLiteImpl.
INFO 2024-10-25T12:38:45 - Will assume non-transactional DDL.
INFO 2024-10-25T12:38:45 - Checking for migration data fixes
INFO 2024-10-25T12:38:46 - end: database initialization
INFO 2024-10-25T12:38:46 - -----SYSTEM STARTUP-----
INFO 2024-10-25T12:38:46 - ------APP SETTINGS------
INFO 2024-10-25T12:38:46 - {
"TESTING": false,
"PRODUCTION": true,
"LOG_CONFIG_OVERRIDE": null,
"LOG_LEVEL": "info",
"theme": {
"light_primary": "#E58325",
"light_accent": "#007A99",
"light_secondary": "#973542",
"light_success": "#43A047",
"light_info": "#1976D2",
"light_warning": "#FF6D00",
"light_error": "#EF5350",
"dark_primary": "#E58325",
"dark_accent": "#007A99",
"dark_secondary": "#973542",
"dark_success": "#43A047",
"dark_info": "#1976D2",
"dark_warning": "#FF6D00",
"dark_error": "#EF5350"
},
"BASE_URL": "https://mealie.crazywolf.dev",
"STATIC_FILES": "/spa/static",
"IS_DEMO": false,
"HOST_IP": "*",
"API_HOST": "0.0.0.0",
"API_PORT": 9000,
"API_DOCS": true,
"TOKEN_TIME": 48,
"GIT_COMMIT_HASH": "a7c8b33cca37882f687a0528f93631545de74f1d",
"ALLOW_SIGNUP": false,
"DAILY_SCHEDULE_TIME": "23:45",
"SECURITY_MAX_LOGIN_ATTEMPTS": 5,
"SECURITY_USER_LOCKOUT_TIME": 24,
"DB_ENGINE": "sqlite",
"DEFAULT_GROUP": "Home",
"DEFAULT_HOUSEHOLD": "Family",
"SMTP_HOST": null,
"SMTP_PORT": "587",
"SMTP_FROM_NAME": "Mealie",
"SMTP_FROM_EMAIL": null,
"SMTP_AUTH_STRATEGY": "TLS",
"LDAP_AUTH_ENABLED": false,
"LDAP_SERVER_URL": null,
"LDAP_TLS_INSECURE": false,
"LDAP_TLS_CACERTFILE": null,
"LDAP_ENABLE_STARTTLS": false,
"LDAP_BASE_DN": null,
"LDAP_QUERY_BIND": null,
"LDAP_USER_FILTER": null,
"LDAP_ADMIN_FILTER": null,
"LDAP_ID_ATTRIBUTE": "uid",
"LDAP_MAIL_ATTRIBUTE": "mail",
"LDAP_NAME_ATTRIBUTE": "name",
"OIDC_AUTH_ENABLED": false,
"OIDC_CLIENT_ID": null,
"OIDC_CONFIGURATION_URL": null,
"OIDC_SIGNUP_ENABLED": true,
"OIDC_USER_GROUP": null,
"OIDC_ADMIN_GROUP": null,
"OIDC_AUTO_REDIRECT": false,
"OIDC_PROVIDER_NAME": "OAuth",
"OIDC_REMEMBER_ME": false,
"OIDC_USER_CLAIM": "email",
"OIDC_GROUPS_CLAIM": "groups",
"OIDC_TLS_CACERTFILE": null,
"OPENAI_BASE_URL": null,
"OPENAI_MODEL": "gpt-4o",
"OPENAI_CUSTOM_HEADERS": {},
"OPENAI_CUSTOM_PARAMS": {},
"OPENAI_ENABLE_IMAGE_SERVICES": true,
"OPENAI_WORKERS": 2,
"OPENAI_SEND_DATABASE_DATA": true,
"OPENAI_REQUEST_TIMEOUT": 60,
"WORKER_PER_CORE": 1,
"UVICORN_WORKERS": 1
}
INFO 2024-10-25T12:38:46 - Daily tasks scheduled for 2024-10-25 21:45:00+00:00
INFO 2024-10-25T12:38:46 - Application startup complete.
INFO 2024-10-25T12:38:46 - Uvicorn running on http://0.0.0.0:9000 (Press CTRL+C to quit)
INFO 2024-10-25T12:39:06 - [127.0.0.1:41876] 200 OK "GET /api/app/about HTTP/1.1"
INFO 2024-10-25T12:39:36 - [127.0.0.1:37770] 200 OK "GET /api/app/about HTTP/1.1"
First Check
What is the issue you are experiencing?
When adding a custom IP to the docker container I'm not able to access it anyhow.
I'm doing this with 30+ Container and every single one of them works just fine expect mealie, which leads me to believe it's an issue with mealie and not my network.
Thanks for looking into this!
Steps to Reproduce
1.) Create the docker container accoring to the sqlite docker-compose 2.) Verify the container is accesible on the docker hosts ip with the specified port 3.) add a custom IP adress and network to the container 4.) See that the container is not accessible on the new ip, but no logs.
Please provide relevant logs
INFO 2024-10-25T12:38:45 - Started server process [1] INFO 2024-10-25T12:38:45 - Waiting for application startup. INFO 2024-10-25T12:38:45 - start: database initialization INFO 2024-10-25T12:38:45 - Database connection established. INFO 2024-10-25T12:38:45 - Context impl SQLiteImpl. INFO 2024-10-25T12:38:45 - Will assume non-transactional DDL. INFO 2024-10-25T12:38:45 - Checking for migration data fixes INFO 2024-10-25T12:38:46 - end: database initialization INFO 2024-10-25T12:38:46 - -----SYSTEM STARTUP----- INFO 2024-10-25T12:38:46 - ------APP SETTINGS------ INFO 2024-10-25T12:38:46 - { "TESTING": false, "PRODUCTION": true, "LOG_CONFIG_OVERRIDE": null, "LOG_LEVEL": "info", "theme": { "light_primary": "#E58325", "light_accent": "#007A99", "light_secondary": "#973542", "light_success": "#43A047", "light_info": "#1976D2", "light_warning": "#FF6D00", "light_error": "#EF5350", "dark_primary": "#E58325", "dark_accent": "#007A99", "dark_secondary": "#973542", "dark_success": "#43A047", "dark_info": "#1976D2", "dark_warning": "#FF6D00", "dark_error": "#EF5350" }, "BASE_URL": "https://mealie.crazywolf.dev", "STATIC_FILES": "/spa/static", "IS_DEMO": false, "HOST_IP": "*", "API_HOST": "0.0.0.0", "API_PORT": 9000, "API_DOCS": true, "TOKEN_TIME": 48, "GIT_COMMIT_HASH": "a7c8b33cca37882f687a0528f93631545de74f1d", "ALLOW_SIGNUP": false, "DAILY_SCHEDULE_TIME": "23:45", "SECURITY_MAX_LOGIN_ATTEMPTS": 5, "SECURITY_USER_LOCKOUT_TIME": 24, "DB_ENGINE": "sqlite", "DEFAULT_GROUP": "Home", "DEFAULT_HOUSEHOLD": "Family", "SMTP_HOST": null, "SMTP_PORT": "587", "SMTP_FROM_NAME": "Mealie", "SMTP_FROM_EMAIL": null, "SMTP_AUTH_STRATEGY": "TLS", "LDAP_AUTH_ENABLED": false, "LDAP_SERVER_URL": null, "LDAP_TLS_INSECURE": false, "LDAP_TLS_CACERTFILE": null, "LDAP_ENABLE_STARTTLS": false, "LDAP_BASE_DN": null, "LDAP_QUERY_BIND": null, "LDAP_USER_FILTER": null, "LDAP_ADMIN_FILTER": null, "LDAP_ID_ATTRIBUTE": "uid", "LDAP_MAIL_ATTRIBUTE": "mail", "LDAP_NAME_ATTRIBUTE": "name", "OIDC_AUTH_ENABLED": false, "OIDC_CLIENT_ID": null, "OIDC_CONFIGURATION_URL": null, "OIDC_SIGNUP_ENABLED": true, "OIDC_USER_GROUP": null, "OIDC_ADMIN_GROUP": null, "OIDC_AUTO_REDIRECT": false, "OIDC_PROVIDER_NAME": "OAuth", "OIDC_REMEMBER_ME": false, "OIDC_USER_CLAIM": "email", "OIDC_GROUPS_CLAIM": "groups", "OIDC_TLS_CACERTFILE": null, "OPENAI_BASE_URL": null, "OPENAI_MODEL": "gpt-4o", "OPENAI_CUSTOM_HEADERS": {}, "OPENAI_CUSTOM_PARAMS": {}, "OPENAI_ENABLE_IMAGE_SERVICES": true, "OPENAI_WORKERS": 2, "OPENAI_SEND_DATABASE_DATA": true, "OPENAI_REQUEST_TIMEOUT": 60, "WORKER_PER_CORE": 1, "UVICORN_WORKERS": 1 } INFO 2024-10-25T12:38:46 - Daily tasks scheduled for 2024-10-25 21:45:00+00:00 INFO 2024-10-25T12:38:46 - Application startup complete. INFO 2024-10-25T12:38:46 - Uvicorn running on http://0.0.0.0:9000 (Press CTRL+C to quit) INFO 2024-10-25T12:39:06 - [127.0.0.1:41876] 200 OK "GET /api/app/about HTTP/1.1" INFO 2024-10-25T12:39:36 - [127.0.0.1:37770] 200 OK "GET /api/app/about HTTP/1.1"
Mealie Version
latest (2.0.0)
Deployment
Docker (Linux)
Additional Deployment Details
Working docker command:
--> Now adding the network and IP, it's not accessible anywhere.