Skip to content

Conection error external database #20

Description

@alvaromartmunoz

I get constantly this error in docker logs
image

i`m trying to configure the container with rds database. I have this docker-compose.yml

version: '3.7'
services:
    opencms:
        image: alkacon/opencms-docker:15.0
        container_name: opencms
        init: true
        restart: always
        ports:
            - "8081:8080"
        volumes:
            - ./opencms-docker-webapps:/usr/local/tomcat/webapps
        command: ["/root/wait-for.sh", "mysql:3306", "-t", "30", "--", "/root/opencms-run.sh"]
        environment:
            - "DB_PASSWD=Qwerty1234!"
            - "DB_HOST=XXXXXXXXXX.eu-west-2.rds.amazonaws.com"
            - "DB_USER=admin"
            - "DB_NAME=opencms"
            - "DEBUG=true"

anyone can help me??
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions