Hi I am trying to connect shlink docker image with local postgres db, in logs I dont see the error but there are no table present in the database. below is my docker-compose.yml file
version: '3.8'
services:
shlink:
image: shlinkio/shlink:latest
container_name: shlink
environment:
SHLINK_DB_DRIVER: postgres
SHLINK_DB_HOST: host.docker.internal # Replace with your local host (e.g., "localhost" or IP address)
SHLINK_DB_PORT: 5432 # Port for PostgreSQL
SHLINK_DB_USER: root # Replace with your DB username
SHLINK_DB_PASSWORD: # Replace with your DB password
SHLINK_DB_NAME: Shlink_db # Replace with the name of your database
ports:
- "8080:8080"
restart: always
As I am logging to via
psql -U root -d shlink
\dt
is giving no relation found Please help what wrong I am doing