u
This commit is contained in:
Tomás Bianco 2020-02-04 10:40:08 -03:00
parent 8b0cfe74aa
commit 4c3c455413
3 changed files with 11 additions and 11 deletions

View file

@ -8,11 +8,11 @@ RUN apk add --no-cache tzdata
RUN apk add git
ENV TZ=America/Argentina/Buenos_Aires
RUN npm install -f
RUN npm install posix --save
RUN npm install -g npm
RUN npm install --prod -f
COPY . /app/
EXPOSE 3000
EXPOSE 3001
CMD npm run start
CMD NODE_ENV=prod npm run start

View file

@ -58,7 +58,7 @@ level="verbose"
[www]
# HTTP port to listen on
port=3000
port=3001
# HTTP interface to listen on
host="0.0.0.0"
# Enable HTTPS
@ -87,13 +87,13 @@ postsize="2MB"
#tmpdir="/tmp"
[mysql]
host="srv-captain--db-mysql-itopps"
host="localhost"
user="root"
password="86CA89311DA8862F3F065E14D011CDBA481B6A86403AE02DF3FF0FAD8239A8FF0BF15A46FCA1A05819929E95A95FBE08A27C0E7D0246E9A8D6E609A2B82B28F7"
password="root"
database="mailtrain"
# Some installations, eg. MAMP can use a different port (8889)
# MAMP users should also turn on "Allow network access to MySQL" otherwise MySQL might not be accessible
port=3306
port=8889
charset="utf8mb4"
# The timezone configured on the MySQL server. This can be 'local', 'Z', or an offset in the form +HH:MM or -HH:MM
timezone="local"

View file

@ -87,13 +87,13 @@ postsize="2MB"
#tmpdir="/tmp"
[mysql]
host="localhost"
host="srv-captain--db-mysql-itopps"
user="root"
password="root"
password="86CA89311DA8862F3F065E14D011CDBA481B6A86403AE02DF3FF0FAD8239A8FF0BF15A46FCA1A05819929E95A95FBE08A27C0E7D0246E9A8D6E609A2B82B28F7"
database="mailtrain"
# Some installations, eg. MAMP can use a different port (8889)
# MAMP users should also turn on "Allow network access to MySQL" otherwise MySQL might not be accessible
port=8889
port=3306
charset="utf8mb4"
# The timezone configured on the MySQL server. This can be 'local', 'Z', or an offset in the form +HH:MM or -HH:MM
timezone="local"