Having problem with deploying an application with docker compose on VPS OVH
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Having problem with deploying an application with docker compose on VPS OVH

by
BenS3
Created on 2022-01-31 11:36:51 (edited on 2024-09-04 14:25:15) in Virtual Private Servers

I am trying to deploy my odoo application using docker-compose on ovh vps, I installed docker and docker-compose from the official documentation and simply run docker-compose up -d but I got this error:
!Dg7RZ|690x106

Here is the file docker-compose.yml

version: '3.3'
services:
web:
image: odoo:13
depends_on:
- db
ports:
- "8069:8069"
volumes:
- odoo-web-data:/var/lib/odoo
- ./custom_addons:/mnt/extra-addons
environment:
- PASSWORD_FILE=/run/secrets/postgresql_password
secrets:
- postgresql_password
db:
image: postgres
environment:
- POSTGRES_DB=postgres
- POSTGRES_PASSWORD_FILE=/run/secrets/postgresql_password
- POSTGRES_USER=odoo
- PGDATA=/var/lib/postgresql/data/pgdata
volumes:
- odoo-db-data:/var/lib/postgresql/data/pgdata
secrets:
- postgresql_password
volumes:
odoo-web-data:
odoo-db-data:

secrets:
postgresql_password:
file: odoo_pg_pass
and the netstat command doesn't show me any entry with the port 8069. This runs perfectly on my local machine URL (ubuntu 20.04) but I can't figure out the reason why it doesn't work on ubuntu machine on VPS OVH I will be grateful if you can help me with this matter. Thank you