I am running supervisor on docker container. I have also run container in detached mode and I have tried multiple method to run supervisor in docker container. but, getting below error.
08-Jun-2018 10:50:13 2018-06-08 10:50:13,862 CRIT Set uid to user 0
08-Jun-2018 10:50:13 2018-06-08 10:50:13,862 WARN Included extra file "/etc/supervisor/conf.d/supervisor.conf" during parsing
08-Jun-2018 10:50:13 2018-06-08 10:50:13,862 WARN Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
08-Jun-2018 10:50:13 2018-06-08 10:50:13,869 INFO RPC interface 'supervisor' initialized
08-Jun-2018 10:50:13 2018-06-08 10:50:13,869 CRIT Server 'unix_http_server' running without any HTTP authentication checking
08-Jun-2018 10:50:13 2018-06-08 10:50:13,870 INFO supervisord started with pid 1
08-Jun-2018 10:50:14 2018-06-08 10:50:14,871 INFO spawned: 'nginx' with pid 7
08-Jun-2018 10:50:14 2018-06-08 10:50:14,873 INFO spawned: 'php-fpm' with pid 8
08-Jun-2018 10:50:14 2018-06-08 10:50:14,928 INFO exited: php-fpm (exit status 0; not expected)
08-Jun-2018 10:50:15 2018-06-08 10:50:15,929 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
08-Jun-2018 10:50:15 2018-06-08 10:50:15,931 INFO spawned: 'php-fpm' with pid 27
08-Jun-2018 10:50:15 2018-06-08 10:50:15,943 INFO exited: php-fpm (exit status 0; not expected)
08-Jun-2018 10:50:17 2018-06-08 10:50:17,947 INFO spawned: 'php-fpm' with pid 40
08-Jun-2018 10:50:17 2018-06-08 10:50:17,959 INFO exited: php-fpm (exit status 0; not expected)
08-Jun-2018 10:50:20 2018-06-08 10:50:20,964 INFO spawned: 'php-fpm' with pid 53
08-Jun-2018 10:50:20 2018-06-08 10:50:20,976 INFO exited: php-fpm (exit status 0; not expected)
08-Jun-2018 10:50:21 2018-06-08 10:50:21,976 INFO gave up: php-fpm entered FATAL state, too many start retries too quickly.
Please suggest. Also, share a steps guide to setup docker deployment from bamboo to AWS ECS.
I had a very similar issue some time ago trying to run PHP + Nginx using supervisor, I find out that I was missing some parameters while starting the php-fpm service, I used this project as a reference to solve my issue.
Regarding deploying to AWS ECS, you can use the Bamboo docker task to push your images to your ECS registry. The folks from Utoolity have a very good step-by-step here.
I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events