[Need Help] How to access to Postal database since it running as docker ? #3162
Unanswered
XXXLukieDukieXXX
asked this question in
Help with using Postal
Replies: 3 comments 4 replies
-
Did you already set up the postal user or are you trying to set it up now? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I just accessed mine using these commands: |
Beta Was this translation helpful? Give feedback.
3 replies
-
I am following this too. There are just a bunch of files named with my.cnf or mariadb.cnf or similar database configuration files and alternatives when you try to run |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
987612f34dbb ghcr.io/postalserver/postal:3.3.4 "/docker-entrypoint.…" 7 weeks ago Up 7 weeks postal-worker-1
ae4f9e3a8520 ghcr.io/postalserver/postal:3.3.4 "/docker-entrypoint.…" 7 weeks ago Up 7 weeks postal-smtp-1
cf5149a3efc9 ghcr.io/postalserver/postal:3.3.4 "/docker-entrypoint.…" 7 weeks ago Up 7 weeks postal-web-1
f95c7eff1a84 mariadb "docker-entrypoint.s…" 7 weeks ago Up 7 weeks 127.0.0.1:3306->3306/tcp postal-mariadb
#List the configuration database as below:
cat /opt/postal/config/postal.yml
main_db:
host: 127.0.0.1
username: root
password: postal
database: postal
message_db:
host: 127.0.0.1
username: root
password: postal
prefix: postal
How to access the db from docker? I have tested below command not working at all.
docker exec -it postal mysql -u root -p
docker exec -it postal-mariadb mysql -u postal -p
Beta Was this translation helpful? Give feedback.
All reactions