This setup uses Docker and Docker Compose. If you do not have Docker yet, see Docker Setup and Docker Compose.
Create a docker-compose.yml file:
services:
db:
image: postgres:16
environment:
POSTGRES_DB: odoo
POSTGRES_USER: odoo
POSTGRES_PASSWORD: change-me
volumes:
- db_data:/var/lib/postgresql/data
app:
image: odoo:latest
environment:
HOST: db
USER: odoo
PASSWORD: change-me
ports:
- "8069:8069"
depends_on:
- db
volumes:
db_data:
Start the stack:
docker compose up -d
Then open http://localhost:8069 and install the Accounting app from the Apps menu.
Running containers in production? We help with:
Need help? office@linux-server-admin.com or Contact Us