Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
plausible-analytics
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
varac-projects
plausible-analytics
Commits
4fd5cdff
Commit
4fd5cdff
authored
Apr 13, 2021
by
Uku Taht
Browse files
Options
Downloads
Patches
Plain Diff
Add download step to docker build
parent
48be0e3f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
config/runtime.exs
+7
-1
7 additions, 1 deletion
config/runtime.exs
with
9 additions
and
2 deletions
Dockerfile
+
2
−
1
View file @
4fd5cdff
...
@@ -40,7 +40,8 @@ COPY lib ./lib
...
@@ -40,7 +40,8 @@ COPY lib ./lib
RUN
npm run deploy
--prefix
./assets
&&
\
RUN
npm run deploy
--prefix
./assets
&&
\
npm run deploy
--prefix
./tracker
&&
\
npm run deploy
--prefix
./tracker
&&
\
mix phx.digest priv/static
mix phx.digest priv/static
&&
\
mix download_country_database
WORKDIR
/app
WORKDIR
/app
COPY
rel rel
COPY
rel rel
...
...
This diff is collapsed.
Click to expand it.
config/runtime.exs
+
7
−
1
View file @
4fd5cdff
...
@@ -66,7 +66,13 @@ cron_enabled = String.to_existing_atom(System.get_env("CRON_ENABLED", "false"))
...
@@ -66,7 +66,13 @@ cron_enabled = String.to_existing_atom(System.get_env("CRON_ENABLED", "false"))
custom_domain_server_ip
=
System
.
get_env
(
"CUSTOM_DOMAIN_SERVER_IP"
)
custom_domain_server_ip
=
System
.
get_env
(
"CUSTOM_DOMAIN_SERVER_IP"
)
custom_domain_server_user
=
System
.
get_env
(
"CUSTOM_DOMAIN_SERVER_USER"
)
custom_domain_server_user
=
System
.
get_env
(
"CUSTOM_DOMAIN_SERVER_USER"
)
custom_domain_server_password
=
System
.
get_env
(
"CUSTOM_DOMAIN_SERVER_PASSWORD"
)
custom_domain_server_password
=
System
.
get_env
(
"CUSTOM_DOMAIN_SERVER_PASSWORD"
)
geolite2_country_db
=
System
.
get_env
(
"EOLITE2_COUNTRY_DB"
,
"priv/geodb/dbip-country.mmdb"
)
geolite2_country_db
=
System
.
get_env
(
"GEOLITE2_COUNTRY_DB"
,
Application
.
app_dir
(
:plausible
)
<>
"/priv/geodb/dbip-country.mmdb"
)
disable_auth
=
String
.
to_existing_atom
(
System
.
get_env
(
"DISABLE_AUTH"
,
"false"
))
disable_auth
=
String
.
to_existing_atom
(
System
.
get_env
(
"DISABLE_AUTH"
,
"false"
))
disable_registration
=
String
.
to_existing_atom
(
System
.
get_env
(
"DISABLE_REGISTRATION"
,
"false"
))
disable_registration
=
String
.
to_existing_atom
(
System
.
get_env
(
"DISABLE_REGISTRATION"
,
"false"
))
hcaptcha_sitekey
=
System
.
get_env
(
"HCAPTCHA_SITEKEY"
)
hcaptcha_sitekey
=
System
.
get_env
(
"HCAPTCHA_SITEKEY"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment