Skip to content
Snippets Groups Projects
Commit 006518a8 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

Use empty email as default value

The email address must be valid so we can no more provide a default one.

Closes #15
parent 7365c2b2
No related branches found
No related tags found
1 merge request!31Use empty email as default value
Pipeline #91163 passed
......@@ -75,7 +75,7 @@
### `EMAIL`
The email address of the `admin` user. Default is `admin`.
The email address of the `admin` user. Default is ``.
### `PG_VERSION`
......
......@@ -13,7 +13,7 @@
- |
(until echo > /dev/tcp/$${DB_HOSTNAME:=$${POSTGRES_PORT_5432_TCP_ADDR:='postgres'}}/$${DB_PORT:=$${POSTGRES_PORT_5432_TCP_PORT:='5432'}}; do sleep 0.5; done) 2>/dev/null
echo "${PASSWORD:-admin}" > /tmp/.passwd
TRYTONPASSFILE=/tmp/.passwd /entrypoint.sh trytond-admin -d "${DB_NAME:-tryton}" --all --email "${EMAIL:-admin}" -vv
TRYTONPASSFILE=/tmp/.passwd /entrypoint.sh trytond-admin -d "${DB_NAME:-tryton}" --all --email "${EMAIL:-}" -vv
if command -v uwsgi &>/dev/null; then uwsgi --ini /etc/uwsgi.conf; else gunicorn --config=/etc/gunicorn.conf.py; fi
depends_on:
- postgres
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment