İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

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

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

Odoo in Docker on Synology NAS

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
3 Cevaplar
12761 Görünümler
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
Vazgeç
Avatar
Jort de Vreeze
En İyi Yanıt

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
Vazgeç
Avatar
Chris Mann
En İyi Yanıt

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
Vazgeç
Avatar
Yannick Heyne
Üretici En İyi Yanıt

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
Vazgeç
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'

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Üye Ol
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة 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, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

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