[IMP] Allow the usage of the official odoo image with dokku PaaS
This commit allow us to directly push this repo over dokku mini-Paas this has some drawback: - the Dockerfile should be in the project root, a symlink is used here to allow simple version swap - expose port should be changed to 8080 to get advantages by the nginx configuration system from dokku Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
This commit is contained in:
parent
0afa334549
commit
ba85bbe3ce
@ -31,15 +31,15 @@ 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
|
||||||
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
|
||||||
|
@ -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
1
Dockerfile
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
8.0/Dockerfile
|
@ -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
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user