new to the app.
docker install, did a test install just to verify as I have done with most of my apps before adding too one off my established stacks. it worked, lookedd like it was just what i was looking for. added same info to an existing stack, did the docker compose and it loaeded up, i went to login and it gave me invaslid credentials. i then clicked the forgot my password link and got the error Message: Request failed with status code 400. how do i get this rectified?
Since you have SMTP env variables are not set, you cannot recover the password.
However, setting NC_ADMIN_EMAIL and NC_ADMIN_PASSWORD you should be able to get in.
which docker compose should i use? or can i input those lines into the environment sections and it work?
Using those env variables in your current docker / docker-compose should work
ok just to make sure here is what i plan to input… let me know if you see any issues. i am still a noob with docker and ubuntu, but im tryin to learn…
nocodb:
depends_on:
root_db:
condition: service_healthy
environment:
NC_DB: “mysql2://root_db:3306?u=noco&p=password&d=root_db”
- NC_ADMIN_EMAIL: email@hotmail.com
- NC_ADMIN_PASSWORD: abcD1234#
image: “nocodb/nocodb:latest”
ports:
- “8585:8080”
restart: always
volumes:
- /Nocodb_Config/nocodb/nc_data:/usr/app/data
root_db:
environment:
MYSQL_DATABASE: root_db
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
MYSQL_USER: noco
healthcheck:
retries: 10
test:
- CMD
- mysqladmin
- ping
- “-h”
- localhost
timeout: 20s
image: “mysql:5.7”
restart: always
volumes:
- /portainer/Files/AppData/Config/nocodb/db_data:/var/lib/mysql
below line shows how to change charset and collation
uncomment it if necessary
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
Input is fine, hard to tell from the formatting perspective. Please ask chatgpt these things
i dont use any ai software. where else can i check it?
when i tried it i got this error
yaml: line 102: did not find expected key
which pertains to the environment line…
condition: service_healthy
environment:
NC_DB: “mysql2://root_db:3306?u=noco&p=password&d=root_db”
ok so when i attempted to add the new nocodb compose info onto an existing docker.yml file it would give me errors. so i just created a new folder and a new docker.yml file just for nocodb and its up and running and i am abe to login. tyvm for your assistance.