[FIX]Odoobackup default can not be used with envsubst
This commit is contained in:
parent
87dc3513e5
commit
3bc2dda176
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
python backup.py -oh ${ODOO_HOST:=odoo} -pw ${ODOO_ADMIN_PASSWORD} -D backups/ -n ${ODOO_DATABASES}
|
python backup.py -oh ${ODOO_HOST} -pw ${ODOO_ADMIN_PASSWORD} -D backups/ -n ${ODOO_DATABASES}
|
||||||
|
@ -54,3 +54,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./backups
|
context: ./backups
|
||||||
image: registry.yaltik.net/odoobackup:yaltik
|
image: registry.yaltik.net/odoobackup:yaltik
|
||||||
|
environment:
|
||||||
|
ODOO_HOST: odoo
|
||||||
|
ODOO_ADMIN_PASSWORD: admin
|
||||||
|
ODOO_DATABASES: base
|
||||||
|
10
python/Dockerfile
Normal file
10
python/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
FROM debian:jessie
|
||||||
|
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y --no-install-recommends python2.7-minimal python-pip ipython
|
||||||
|
# Packages cleanup
|
||||||
|
RUN apt-get purge -y --auto-remove && apt-get clean
|
||||||
|
RUN useradd fabien -m -s /bin/bash
|
||||||
|
USER fabien
|
||||||
|
WORKDIR /home/fabien
|
||||||
|
CMD /bin/true
|
Loading…
Reference in New Issue
Block a user