How do i connect Fusionauth to Postgress DB using a secure (TLS/SSL) connection?
I ran FusionAuth using dokcer-compose file :
version: '3'
services:
fusionauth:
image: funzacr.azurecr.io/fusionauth:v1.27
environment:
DATABASE_URL: jdbc:postgresql://<DB_NAME>.postgres.database.azure.com:5432/<DB_TABLE>
DATABASE_USERNAME: <username>@<DB_NAME>
DATABASE_PASSWORD: <PASSWORD>
FUSIONAUTH_APP_MEMORY: 1024M
FUSIONAUTH_APP_RUNTIME_MODE: production
FUSIONAUTH_APP_URL: http://fusionauth:9011
SEARCH_SERVERS: <elasticsearch_url>
SEARCH_TYPE: elasticsearch
networks:
- search
restart: unless-stopped
ports:
- 9011:9011
volumes:
- fa_config:/usr/local/fusionauth/config
networks:
search:
driver: bridge
volumes:
fa_config: