Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Link Error #4

Open
spyworldxp opened this issue Dec 25, 2016 · 1 comment
Open

External Link Error #4

spyworldxp opened this issue Dec 25, 2016 · 1 comment

Comments

@spyworldxp
Copy link

I use percona database for multi container. So, I prefer to use external_links.

version: '2.0'
services:
    zend:
        image: php-zendserver:8.5
        ports:
            - 80:80
            - 10081:10081
            - 10082:10082
        volumes:
            - ./code/:/var/www/html/
        external_links:
            - percona
        environment:
            MYSQL_HOSTNAME: percona 
            MYSQL_USERNAME: root
            MYSQL_PASSWORD: 123456
            ZS_ADMIN_PASSWORD: admin
    phpmyadmin:
        image: phpmyadmin/phpmyadmin
        ports:
            - 81:80
        external_links:
            - percona:db
        environment:
            PMA_HOST: db
            PMA_USER: root
            PMA_PASSWORD: 123456
        network_mode: 'bridge'

This is the error message

zend_1        | Usage:
zend_1        | /usr/local/bin/nothing <mysql-hostname> <mysql-port> <mysql-username> <mysql-password> <mysql-db-name> <server-id> <web-api-key-name> <web-api-key>
zend_zend_1 exited with code 1
@davidl-zend
Copy link
Contributor

We've made many changes to our setup - please retry with a new image and tell me if it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants