R
Railway

✋|help

Odoo Community Edition

Ssel_carlitos8/26/2023
I would like to know if we can setup Odoo in railway?

The odoo image is built with docker using this folder in git: https://github.com/odoo/docker/tree/master/16.0

In the backend we need a postgres DB. The server/container should be called DB so that it's found by Odoo and connects as soon as postgres is available to receive connections.

Odoo exposes ports 8069, 8071 and 8072

It needs a reverse proxy. The preferred and tested one is nginx. Attached is a sample config. Any help is greatly appreciated.
Ssel_carlitos8/26/2023
N/A
Aa_dumb__8/26/2023
Railway can only expose one port per service. You won't be able to use odoo unless you can somehow split the functionality between 3 services, or force it to only use one port
Bbrody1928/26/2023
thats what the proxy is for 😉
run the odoo service as an internal only service, then use a public facing proxy to split the different ports out into different endpoints
Ssel_carlitos8/26/2023
Can you point out in the correct direction to deploy the internal service via a dockerfile?
This is the Dockerfile with the additional scripts and files it needs to be deployed: https://github.com/odoo/docker/tree/master/16.0
Bbrody1928/26/2023
uh well its more of a "if you know, you know" type of situation
Ssel_carlitos8/26/2023
Got it. I will dig in the documentation.
Bbrody1928/26/2023
any service deployed will be able to be access over the private network, but theres a lot to get into there
have a look at this template https://railway.app/template/6kkDlC
ignore the nginx logo
in fact, i couldnt see why odoo would require a proxy

Looking for more? Join the community!

Recommended Posts
Websocket disconnectingHey, I have an app that uses a websocket (hosted on railway) but for some reason every once in a whinpm WARN config production Use `--omit=dev` instead when trying to start Nestjs appI'm trying to deploy my app (https://github.com/Omniforce-Technologies/omniforce-asset-store/tree/deDjangoHello good people of Railway! I would like to ask for a bit of help and advice about Django deploymeI have a custom domain from SuperHostingI have this doman briefeats.eu and I want to configure it to point to my angular app Currently I haDNS settings not being accepted by domain host.I'm finalizing a deployment of a React.js frontend only site, I got the green confirmation of the siWinston logs not appearing in deployment logsIn my node.js deployment if I do a console.log it appears normally in deployment logs, but using windeploy logs say nuxt "start" is an unknown command. Production and development sites both crashed.😫CMD Line accessI freaking swear I hate this so much I JUST WANT TO BE ABLE TO USE THE COMMAND LINE <:sadcat:7868689Laravel cron jobsHow can I run php artisan schedule:work every minute?Postgres drops connection when inactive, is this by default?I'm developing a node app using AdonisJS@5 and on a prolonged inactivity period (more than 5 hours) Fontconfig to canvasHi, I've been using the node-canvas in default railway when I use that, only libuuid and libGL are ivolumehey guys! quick question, I've got a golang project. I need it to create a json file on railway and system ran out of memoryCan someone help me? When I try to run my react app i get this error message. > tuya_react_frontend@Litestar command not foundHey all apologies for the possibly silly question. I am looking to deploy this repo: https://github.save temporary archivesCan i save temporary pdfs to a back-end host ? I'm trying to save a pdf file from a client upload bHow to host websockets?This is my first time hosting socket server, how can i do that on railway? I docs there are only webI cannot use opencv2 and received ImportError: libgl.so.1 cannot open shared object file no such filCan anyone help me with that ??LibreofficeHi I need libreoffice installed to use in my code. I attempted using the below nixpacks.toml ``` [Random app crash, no logs or other indicatorWhen trying my healtcheck I get random crashes, no recent deploy was made, I don't see any logs on mModify build commandHow would I modify the build command so it does a pip install of `psycopg2` ? I was told to remove t