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

Using Docker as default deployment option #22

Open
tananaev opened this issue Sep 9, 2018 · 9 comments
Open

Using Docker as default deployment option #22

tananaev opened this issue Sep 9, 2018 · 9 comments

Comments

@tananaev
Copy link
Member

tananaev commented Sep 9, 2018

I have created a thread here to discuss it:

traccar/traccar#4048

Basically it's becoming harder to maintain old legacy installers and services, so I'm thinking of making Docker main deployment option.

The requirement would be the ease of installation and availability on all platforms (Linux, Mac and Windows).

@magna-z, what do you think about the idea? I see that your instructions are mostly focused on Linux deployment. What do we need to do to make it easily deployable on Windows and Mac?

@tananaev
Copy link
Member Author

tananaev commented Sep 9, 2018

Also, ideally we want application to start automatically on boot. I think it's not a problem on Linux, but what about Windows for example?

@psyciknz
Copy link

Doesn't the docker service start with windows? As an option I like it. I'm just moving my instance to docker. Is it all self contained, ie site + datastore? The only info that might be lacking is the db credentials, especially if starting from scratch, or importing from a old server.

@tananaev
Copy link
Member Author

I actually changed my mind and we decided to keep regular installer options, but there will be some big changes.

@jubalm
Copy link

jubalm commented Aug 25, 2019

I just discovered traccar so forgive me for commenting on an old thread. I was trying to get the server running on OSX but at this point the installer available is only manual install. This by far is the only approach that worked on my machine and the best part is, the server will have eventually been deployed to a dedicated host so Docker was best at this. Unless you can provide a single-file-script install kind of thing, this remains to be the best approach IMO. Please consider extending on the docs for this install (docker-compose.yml maybe?) and add documentation for features such as Custom Database setup and this will be perfect.

@hoerbi1000
Copy link

@tananaev will docker repository be updated?
the latest is 3 months old.

@tananaev
Copy link
Member Author

@hoerbi1000 how is it related to this thread? Also, what do you expect to be updated?

@ippocratis
Copy link

I see the docker migration thread is closed and docker is not the only way to go.
I'm happy as long as docker images are still provided.

What I'd love to see is some docker / docker-compose examples with mysql/postgres databases like #101

Thanks and keep up

@jacobburrell
Copy link

@tananaev Instructions for VPS installation by default has an external db.

Can we change the defaults here to similarly use an external db rather than requiring extra config?

@tananaev
Copy link
Member Author

@jacobburrell how do you expect it to work? What would be the default database?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants