You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.4 KiB
53 lines
1.4 KiB
docker-image: git.panda-chi.io:5002/panda-chi/docker-odoo-pandachi:11.0-all-module-test
|
|
data-resources:
|
|
- /var/lib/odoo
|
|
- /var/log/odoo
|
|
# config-resources:
|
|
# ## XXXvlab: should this be there or declared dynamically in the relation that
|
|
# ## create/update this file ?
|
|
# # - /etc/odoo-server.conf
|
|
|
|
docker-compose:
|
|
command:
|
|
- odoo
|
|
- --config=/opt/odoo/auto/odoo.conf
|
|
- --logfile=/var/log/odoo/odoo.log
|
|
## YYYvlab: useful ?
|
|
tty: true
|
|
environment:
|
|
INITIAL_LANG: fr_FR
|
|
restart: unless-stopped
|
|
|
|
uses:
|
|
postgres-database:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: required
|
|
auto: pair
|
|
solves:
|
|
database: "main storage"
|
|
#default-options:
|
|
log-rotate:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
disk-leak: "/var/log/odoo"
|
|
#default-options:
|
|
web-proxy:
|
|
#constraint: required | recommended | optional
|
|
#auto: pair | summon | none ## default: pair
|
|
constraint: recommended
|
|
auto: pair
|
|
solves:
|
|
proxy: "Public access"
|
|
#default-options:
|
|
|
|
# network-isolation:
|
|
# whitelist: ## required external services used by this service
|
|
# - www.google.com
|
|
# - www.gravatar.com
|
|
# - fonts.gstatic.com
|
|
# - fonts.googleapis.com
|
|
# - cdnjs.cloudflare.com
|