I have a docker compose file as follows:
    version: '3'
    services:
    prisma:
        image: prismagraphql/prisma:1.34.10
        restart: always
        ports:
        - '4466:4466'
        environment:
        PRISMA_CONFIG: |
            port: 4466
            databases:
            default:
                connector: mysql
                host: test.mysql.database.azure.com
                database: default@default
                user: rie@dak-prod
                password: ak123#$
                ssl: false
                rawAccess: true
                port: '3306'
                migrations: true
When I try the command docker-compose up -d the command fails with an error :
ERROR: Invalid interpolation format for "environment" option in service "prisma": "port: 4466
databases:
default:
    connector: mysql
    host: est.mysql.database.azure.com
    database: default@default
    user: rie@dak-prod
    password: ak123#$
    ssl: false
    rawAccess: true
    port: '3306'
    migrations: true
"
The reason that I have identified is the # in the password. If # is not there, it does not throw up this error. How can I escape (use) hash the the docker compose file?
 
     
     
     
    