make it possible to specify mysql host and port
This commit is contained in:
parent
770330ef47
commit
fb59de1fb0
|
@ -6,6 +6,8 @@ RUN cd app && sh container-install.sh
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
ENV MYSQL_HOST localhost
|
||||
ENV MYSQL_PORT 3306
|
||||
ENV MYSQL_DATABASE cytube
|
||||
ENV MYSQL_USER cytube
|
||||
ENV MYSQL_PASSWORD nico_best_girl
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
# user: username to authenticate as
|
||||
# password: password for user
|
||||
mysql:
|
||||
server: 'localhost'
|
||||
port: 3306
|
||||
server: '${MYSQL_HOST}'
|
||||
port: ${MYSQL_PORT}
|
||||
database: '${MYSQL_DATABASE}'
|
||||
user: '${MYSQL_USER}'
|
||||
password: '${MYSQL_PASSWORD}'
|
||||
|
|
Loading…
Reference in a new issue