{"id":13556446,"url":"https://github.com/openlabs/tryton","last_synced_at":"2025-12-29T02:11:38.636Z","repository":{"id":17413623,"uuid":"20186485","full_name":"openlabs/tryton","owner":"openlabs","description":"Tryton Dockerfile","archived":false,"fork":false,"pushed_at":"2015-07-06T10:54:14.000Z","size":420,"stargazers_count":8,"open_issues_count":3,"forks_count":12,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-01-19T22:16:36.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-26T13:12:39.000Z","updated_at":"2019-08-18T18:19:34.000Z","dependencies_parsed_at":"2022-08-02T19:30:59.196Z","dependency_job_id":null,"html_url":"https://github.com/openlabs/tryton","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlabs%2Ftryton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlabs%2Ftryton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlabs%2Ftryton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openlabs%2Ftryton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openlabs","download_url":"https://codeload.github.com/openlabs/tryton/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243345570,"owners_count":20275869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:03:50.551Z","updated_at":"2025-12-29T02:11:38.596Z","avatar_url":"https://github.com/openlabs.png","language":null,"funding_links":[],"categories":["Others","others"],"sub_categories":[],"readme":"# Tryton Dockerfile\n\nThis Dockerfile will run the steps required to build a working image of\nTryton. The build is based on the `ubuntu` base image provided by docker.\n\n## Usage\n\nFetch the repository from docker\n\n    docker pull openlabs/tryton\n\nCreate a new container using the image\n\n    docker run -d -P 8000 openlabs/tryton\n\n* The `-d` option indicates that the container should be run in daemon\n  mode.\n* The `-p` option and it's value `8000` instructs docker to bind TCP port 8000\n  of the container to a dynamically allocated TCP port on all available\n  interfaces of the host machine.\n  See [ports documentation](http://docs.docker.io/use/port_redirection/#port-redirection)\n  for a more detailed explanation on how the port exposed by the container is\n  bound to the host running the docker container.\n\nTo find the port that tryton in now bound to\n\n    docker ps\n\nThe output in the PORTS column should look like `0.0.0.0:49153-\u003e8000/tcp`.\nYou should now be able to connect to tryton on the port 49153. (Note:\nSubstitute the port number with what is displayed on your docker host.)\n\n**SSH into the container (Deprecated)**\n\nThe container originally did support SSH but was subsequently removed.\n[Read Why](http://blog.docker.com/2014/06/why-you-dont-need-to-run-sshd-in-docker/)\n\n## Running from docker container\n\nYou can access the docker container and work from within it.::\n\n    docker run -i -t openlabs/tryton /bin/bash\n\nOn execution of the command a new prompt within the container should be\navailable to you. Remember that trytond (default service) is not started\nautomatically for you when you access the container in this manner. To\nstart trytond, run::\n\n    trytond -c /etc/trytond.conf\n\n## More details\n\nThis is a minimalistic Docker container for Tryton which could be used in\nboth production and developemnt. Further step if you intend on using this\nas a base image is below.\n\n**Extending this image**\n\nThis docker image is a minimal base on which you should extend and write\nyour own modules. The following example steps would be required to say\nmake your setup work with postgres and install the sale module.\n\n\n    # Trytond 3.4 with Sale module and Postgres\n    #\n\n    FROM openlabs/tryton:3.4\n    MAINTAINER Sharoon Thomas \u003csharoon.thomas@openlabs.co.in\u003e\n\n    # Setup psycopg2 since you want to connect to postgres\n    # database\n    RUN apt-get -y -q install python-dev libpq-dev\n    RUN pip install psycopg2\n\n    # Setup the sale module since it is a required for this\n    # custom setup\n    RUN pip install 'trytond_sale\u003e=3.4,\u003c3.5'\n\n    # Copy new trytond.conf from local folder to /etc/trytond.conf\n    # The new trytond also has credentials to connect to the postgres\n    # server which is accessible elsewhere\n    ADD trytond.conf /etc/trytond.conf\n\nThis example can be downloaded as a [gist](https://gist.github.com/sharoonthomas/a75cf7b02173fa3556cf).\n\n## TODO\n\n* Ability to load configuration parameters from environment variables.\n  [See why?](http://12factor.net/config)\n\n## Authors and Contributors\n\nThis image was built at [Openlabs](http://www.openlabs.co.in).\n\n## Professional Support\n\nThis image is professionally supported by [Openlabs](http://www.openlabs.co.in).\nIf you are looking for on-site teaching or consulting support, contact our\n[sales](mailto:sales@openlabs.co.in) and [support](mailto:support@openlabs.co.in) teams.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlabs%2Ftryton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenlabs%2Ftryton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenlabs%2Ftryton/lists"}