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

Unable to setup phpsocket.io with Docker #283

Open
binemmanuel opened this issue Jan 3, 2023 · 0 comments
Open

Unable to setup phpsocket.io with Docker #283

binemmanuel opened this issue Jan 3, 2023 · 0 comments

Comments

@binemmanuel
Copy link
Contributor

Dockerfile.socket

FROM php:8.1.13-cli

RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
CMD php /app/src/socket.php start -d

docker-compose.yaml

socket:
        build:
            context: .
            dockerfile: Dockerfile.socket

        depends_on:
            - database

        ports:
            - 8181:8181

        networks:
            - some-network
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

1 participant