remove some fly.io configs
This commit is contained in:
parent
d7019de1ed
commit
43c930e772
2 changed files with 7 additions and 7 deletions
|
|
@ -22,14 +22,14 @@ FROM ${BUILDER_IMAGE} as builder
|
|||
|
||||
# install build dependencies
|
||||
RUN apt-get update -y && apt-get install -y build-essential git \
|
||||
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
||||
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
||||
|
||||
# prepare build dir
|
||||
WORKDIR /app
|
||||
|
||||
# install hex + rebar
|
||||
RUN mix local.hex --force && \
|
||||
mix local.rebar --force
|
||||
mix local.rebar --force
|
||||
|
||||
# set build ENV
|
||||
ENV MIX_ENV="prod"
|
||||
|
|
@ -91,5 +91,5 @@ USER nobody
|
|||
CMD ["/app/bin/server"]
|
||||
|
||||
# Appended by flyctl
|
||||
ENV ECTO_IPV6 true
|
||||
ENV ERL_AFLAGS "-proto_dist inet6_tcp"
|
||||
#ENV ECTO_IPV6 true
|
||||
#ENV ERL_AFLAGS "-proto_dist inet6_tcp"
|
||||
|
|
|
|||
|
|
@ -19,6 +19,6 @@
|
|||
# export RELEASE_DISTRIBUTION=name
|
||||
# export RELEASE_NODE=<%= @release.name %>
|
||||
|
||||
ip=$(grep fly-local-6pn /etc/hosts | cut -f 1)
|
||||
export RELEASE_DISTRIBUTION=name
|
||||
export RELEASE_NODE=$FLY_APP_NAME@$ip
|
||||
#ip=$(grep fly-local-6pn /etc/hosts | cut -f 1)
|
||||
#export RELEASE_DISTRIBUTION=name
|
||||
#export RELEASE_NODE=$FLY_APP_NAME@$ip
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue