This commit is contained in:
Claudio Mignanti 2017-02-07 17:56:14 +00:00 committed by GitHub
commit 3297940fdf
4 changed files with 10 additions and 4 deletions

View File

@ -35,8 +35,8 @@ RUN set -x; \
&& rm -rf /var/lib/apt/lists/* odoo.deb && rm -rf /var/lib/apt/lists/* odoo.deb
# Copy entrypoint script and Odoo configuration file # Copy entrypoint script and Odoo configuration file
COPY ./entrypoint.sh / COPY ./8.0/entrypoint.sh /
COPY ./openerp-server.conf /etc/odoo/ COPY ./8.0/openerp-server.conf /etc/odoo/
RUN chown odoo /etc/odoo/openerp-server.conf RUN chown odoo /etc/odoo/openerp-server.conf
# Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons # Mount /var/lib/odoo to allow restoring filestore and /mnt/extra-addons for users addons
@ -45,7 +45,7 @@ RUN mkdir -p /mnt/extra-addons \
VOLUME ["/var/lib/odoo", "/mnt/extra-addons"] VOLUME ["/var/lib/odoo", "/mnt/extra-addons"]
# Expose Odoo services # Expose Odoo services
EXPOSE 8069 8071 EXPOSE 8080 8071
# Set the default config file # Set the default config file
ENV OPENERP_SERVER /etc/odoo/openerp-server.conf ENV OPENERP_SERVER /etc/odoo/openerp-server.conf

View File

@ -32,7 +32,7 @@ auto_reload = True
; workers = 0 ; workers = 0
; xmlrpc = True ; xmlrpc = True
; xmlrpc_interface = ; xmlrpc_interface =
; xmlrpc_port = 8069 xmlrpc_port = 8080
; xmlrpcs = True ; xmlrpcs = True
; xmlrpcs_interface = ; xmlrpcs_interface =
; xmlrpcs_port = 8071 ; xmlrpcs_port = 8071

1
Dockerfile Symbolic link
View File

@ -0,0 +1 @@
8.0/Dockerfile

View File

@ -4,3 +4,8 @@ About this Repo
This is the Git repo of the official Docker image for [Odoo](https://registry.hub.docker.com/_/odoo/). See the Hub page for the full readme on how to use the Docker image and for information regarding contributing and issues. This is the Git repo of the official Docker image for [Odoo](https://registry.hub.docker.com/_/odoo/). See the Hub page for the full readme on how to use the Docker image and for information regarding contributing and issues.
The full readme is generated over in [docker-library/docs](https://github.com/docker-library/docs), specifically in [docker-library/docs/odoo](https://github.com/docker-library/docs/tree/master/odoo). The full readme is generated over in [docker-library/docs](https://github.com/docker-library/docs), specifically in [docker-library/docs/odoo](https://github.com/docker-library/docs/tree/master/odoo).
This image can also bu used with dokku mini-PaaS as simple as:
```
dokku clone odoo https://github.com/odoo/docker
```