Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
David Rossi
/
supervisord-docker
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7efb39a1
authored
Jan 05, 2017
by
David Rossi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
first commit
0 parents
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
Dockerfile
README.md
supervisord.conf
Dockerfile
0 → 100644
View file @
7efb39a
FROM
debian
RUN
apt-get update
&&
apt-get install -y openssh-server supervisor
RUN
mkdir -p /var/run/sshd /var/log/supervisor
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
EXPOSE
22 9001
CMD
["/usr/bin/supervisord"]
README.md
0 → 100644
View file @
7efb39a
# Debian e supervisord
## Questa immagine è un esempio per attivare un servizio (in questo caso sshd) tramite supervisord
# BUILD (esempio)
## - sudo docker build -t mysupervisord .
# RUN (esempio)
## - sudo docker run -ti --name buttami --rm -p 2022:22 -p 9001:9001 mysupervisord
supervisord.conf
0 → 100644
View file @
7efb39a
[
supervisord
]
nodaemon
=
true
[
program
:
sshd
]
command
=/
usr
/
sbin
/
sshd
-
D
[
unix_http_server
]
file
= /
tmp
/
supervisor
.
sock
chmod
=
0777
chown
=
nobody
:
nogroup
username
=
min
password
=
admin
[
inet_http_server
]
port
=
0
.
0
.
0
.
0
:
9001
username
=
min
password
=
admin
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment