Sign inSign up

sparkpos/golang-supervisor

By sparkpos

•Updated about 8 years ago

add supervisor to golang offical image.

Image
0

593

sparkpos/golang-supervisor repository overview

⁠介绍

本镜像用于执行基于golang开发的程序。通过supervisor管理进程。

⁠使用docker-compose运行

⁠自定义supervisor配置文件

应该通过docker volume方式挂在到如下路径:

/etc/supervisor.d/
⁠supervisor使用的custom.conf
[program:go-example]
command=/go-example.sh
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
startsecs=30
autorestart=true
startretries=200

Tag summary

Content type

Image

Digest

Size

129.9 MB

Last updated

about 8 years ago

docker pull sparkpos/golang-supervisor