Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to deploy without systemd #33

Closed
channingbreeze opened this issue Jul 27, 2015 · 2 comments
Closed

how to deploy without systemd #33

channingbreeze opened this issue Jul 27, 2015 · 2 comments
Labels

Comments

@channingbreeze
Copy link

hi, my computer doesn't has systemd and it uses init , can stf deploy on my computer?
and my computer only has one port for public net and the port is 80, how can i deploy stf on my computer and visit it from the public net?
thank you for this wonderful project , it helps me a lot

@sorccu
Copy link
Member

sorccu commented Jul 27, 2015

Hi,

Unfortunately we have very limited resources and are therefore only able to
document a very narrow range of possible deployments. What you can do,
though, is to take the docker run commands from the example unit files
and write corresponding service configs for whatever init system you're
using, or if you don't even have access to docker, just take note of the
environment variables and the stf commands. It will be a lot more tricky
without docker, though. Also, remember to replace %p and %i where
necessary, %i means the unit filename after @ (if you were using systemd)
without extension, and %p means the part before @ (or the whole name
without extension if none).

However, if you only have a single computer, you might as well use stf local --public-ip <your ip here> the make things easier for yourself.
Making sure that it restarts if it dies is left to you. If you need it to
run on port 80 you could set up a simple nginx reverse proxy, or for a
super lazy solution add a --port 80 option and run STF as root, but
that's not secure at all.

Simo

On Mon, Jul 27, 2015 at 10:00 PM, 竹逊 notifications@github.com wrote:

hi, my computer doesn't has systemd and it uses init , can stf deploy on
my computer?
and my computer only has one port for public net and the port is 80, how
can i deploy stf on my computer and visit it from the public net?
thank you for this wonderful project , it helps me a lot


Reply to this email directly or view it on GitHub
#33.

@sorccu sorccu added the wontfix label Jul 28, 2015
@sorccu
Copy link
Member

sorccu commented Jul 28, 2015

Closing this ticket because we don't have the resources to test and keep up another set of deployment instructions.

@sorccu sorccu closed this as completed Jul 28, 2015
neofreko pushed a commit to neofreko/stf that referenced this issue Oct 7, 2020
Signed-off-by: Karol Wrótniak <karol.wrotniak@droidsonroids.pl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants