Welcome! Log In Create A New Profile

Advanced

Re: nginx exits error code 0 with docker compose

Konstantin Pavlov
September 06, 2022 04:32AM
Hi Brian,

On 06/09/2022 3:14 AM, Brian Carey wrote:
>
> I'm trying to run nginx/mysql/php in docker. Everything seems to run
> fine. I have added tty: true and changed the
>
> Here is my Dockerfile, docker-compose.yaml and the nginx-related
> output. I did try adding tty: true but it made no difference.
>
> Any ideas? Thanks in advance.
>
> biscotty
>
> '''
>
> FROM nginx:alpine
>
> CMD ["nginx", "-g", "daemon off;"]
>
> EXPOSE 80 443
>

Make sure to rebuild the cached image used by docker-compose.  This
should work fine.

_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

nginx exits error code 0 with docker compose

biscotty September 05, 2022 07:16PM

Re: nginx exits error code 0 with docker compose

Konstantin Pavlov September 06, 2022 04:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 113
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready