Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Discuss
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Odoo in Docker on Synology NAS

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
3 Replies
12748 Tampilan
Avatar
Yannick Heyne

Hello Odoo friends,

I have a problem, I'm more of a Windows person and am now trying Linux, i.e. Docker.
I'm running Odoo16 on a Docker (Syno NAS). Now third party wants to install APPs.
I created a folder and everything else so far. I put the app that I wanted in there. I also mounted it, but it doesn't appear in Odoo so I can install it. Can someone please tell me how and where I have to do this so that I can put the APPs in a folder on the NAS and then install them in Odoo.

Thank you in advance

0
Avatar
Buang
Avatar
Jort de Vreeze
Jawaban Terbai

I have a test server running on a Synology NAS. I use the following docker-compose.yml:

version: '3.8'

services:

postgres:
container_name: odoo-postgres
image: postgres:14.1-alpine
networks:
- web
ports:
- 5432:5432
environment:
POSTGRES_DB: postgres
POSTGRES_USER: odoo
POSTGRES_PASSWORD: secret
volumes:
- ./postgres-data:/var/lib/postgresql/data
restart: always

odoo:
container_name: odoo
image: odoo:15.0
networks:
- web
environment:
HOST: postgres
USER: odoo
PASSWORD: secret
depends_on:
- postgres
ports:
- 8069:8069
volumes:
- ./config:/etc/odoo
- ./extra-addons:/mnt/extra-addons
- ./data:/var/lib/odoo
restart: always
links:
- postgres

networks:
web:
external: true
name: web

Please make sure that you have configured /config/odoo.conf correctly and included your module in the addons_path:

[options]
addons_path = /usr/lib/python3/dist-packages/odoo/addons, /mnt/extra-addons
...

In Odoo you also have to 'Update App List' in the Apps module. This item is visible when you activate the developer mode under 'Settings'. For more information, you can also check out my blog post: https://jortdevreeze.com/blog/odoo-2/dock-stack-launch-odoo-deployment-with-docker-and-portainer-4

I hope this helps!

0
Avatar
Buang
Avatar
Chris Mann
Jawaban Terbai

I've been using Odoo on Docker with Synology NAS for a while.
If you are using it behind the Synology reverse proxy (NGINX) for LetsEncrypt, I always follow the script below to lock it down further for better performance and security.

Synology Tweaks:
1. Login via SSH
2. Go to /usr/syno/share/nginx, make a backup copy of both gzip.mustache and HSTS.mustache
3. Edit gzip - Add the following lines to the bottom:
gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
gzip on;
4. Edit HSTS.mustache - Add the following:
add_header Strict-Transport-Security "max-age=15768000; includeSubdomains; preload" always;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header Referrer-Policy "strict-origin";
add_header X-XSS-Protection "1; mode=block";
add_header 'Content-Security-Policy' 'upgrade-insecure-requests';
5. Run nginx -t, systemctl reload nginx, then systemctl restart nginx
6. Test via Gtmetrix, SSLTest and securityheaders.com

0
Avatar
Buang
Avatar
Yannick Heyne
Penulis Jawaban Terbai

Ok that helps me, but that will be my problem, that the module is not correct in the odoo.conf. My problem, I just realized that I can't find / open it. I also looked at your blog. You install the Odoo via stack and I simply installed it via New Container. That's probably why I wasn't able to store the data correctly there.


0
Avatar
Buang
Jort de Vreeze

You need to make the /etc/odoo, /mnt/extra-addons, and /var/lib/odoo folders persistent (i.e., use volumes). What you could do is ssh into your NAS and in you odoo folder add the docker-compose.yml file:

$ echo "" > docker-compose.yml

And then create the folders as specified in the docker-compose.yml file below:

$ mkdir config
$ mkdir extra-addons
$ mkdir data

And then build and run your containers:

$ sudo docker-compose up -d --build

Now these directories will contain the data you need. Alternatively, is that you create volumes and use these (e.g., docker volume create volume_name) and use these. These folders can be found in my Synology NAS under: '/volume1/@docker/volumes/volume_name'

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now