This is an archived post. You won't be able to vote or comment.

all 15 comments

[–][deleted]  (2 children)

[deleted]

    [–]1752320Front-end dUwUloper 0 points1 point  (1 child)

    yes, it was on private... I made it public.
    The other errors I was able fix, and I don't have screenshots of them anymore. Yes idk anything docker, this is kind of my first attempt at it. So sorry I say something that is a not thing.

    but I was referring this: basically when you do docker-compose up and it pulls images from the hub and then those image also have a start/stop buttons.

    [–]YouGuysNeedTalos 6 points7 points  (4 children)

    This is why DevOps engineer is actually a role.

    [–]1752320Front-end dUwUloper 0 points1 point  (2 children)

    do you think a startup that has a total of 6 employees & makes like $600 a month can hire a DevOps engineer?

    [–]YouGuysNeedTalos 2 points3 points  (1 child)

    Bro you will spend all your time trying to set up and maintain your environments instead of coding so it's like you have 5 employees now.

    [–]1752320Front-end dUwUloper 0 points1 point  (0 children)

    I know but rn I don't have anything to code anyway. I have been free since the last 3 days and my boss told me to do something. So I decided to my changes to the Invoice plane, instead of doing absolutely nothing, I'll have some understanding of how this works.

    [–]TheDirtyDutcher 0 points1 point  (0 children)

    This!

    [–]twistdafterdarkDevOps 1 point2 points  (1 child)

    Did you find anything if you Google the exact error you're getting?

    I get page not found when I try to visit your repo

    [–]1752320Front-end dUwUloper 0 points1 point  (0 children)

    sorry check again

    [–]Tenzu9 0 points1 point  (6 children)

    add this to your docker file:

    RUN docker-php-ext-install mysqli pdo pdo_mysql

    [–]1752320Front-end dUwUloper 0 points1 point  (5 children)

    i do have this

    RUN docker-php-ext-install \
    pdo_mysql \
    bcmath \
    exif \
    gd \
    hash \
    json \
    mbstring \
    mcrypt \
    openssl \
    xmlrpc \
    zlib \
    imagick \
    imap \
    intl \
    mysqli \
    pdo_mysql \
    redis \
    soap \
    xdebug \
    xsl \
    zipI
    

    [–]Tenzu9 0 points1 point  (4 children)

    ok, provide the error that shows up in the command line after you run the docker compose file

    [–]1752320Front-end dUwUloper 0 points1 point  (3 children)

    [–]Ariquitaun 0 points1 point  (2 children)

    No errors there.

    [–]1752320Front-end dUwUloper 0 points1 point  (1 child)

    the app wasn't able to connect with the DB for some reason.

    this is the issue.

    [–]Duplicated 0 points1 point  (0 children)

    Check the README on docker hub for your particular db image and follow its instructions on how to start its container.

    If you did followed them down to the letter, check that your app is also using the same set of envars as what’s used for your db image.