Skip to content

Commit 1e7982d

Browse files
committed
Minor livebook integration fix
1 parent 5e7b07f commit 1e7982d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

app/lib/meadow/config/pipeline.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ defmodule Meadow.Config.Pipeline do
2828
case Secrets.prefix() do
2929
nil -> "meadow"
3030
"" -> "meadow"
31+
"prod" -> "meadow"
3132
val -> val
3233
end
3334

app/lib/meadow/config/secrets.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ defmodule Meadow.Config.Secrets do
8686
env =
8787
cond do
8888
System.get_env("RELEASE_NAME") -> nil
89-
function_exported?(Mix, :env, 0) -> Mix.env()
89+
function_exported?(Mix, :env, 0) -> environment()
9090
true -> nil
9191
end
9292

infrastructure/deploy/task-definitions/meadow_app.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
{
33
"name": "meadow",
44
"image": "${docker_repository}:latest",
5-
"cpu": 0,
5+
"cpu": 1024,
6+
"memoryReservation": 1024,
67
"mountPoints": [],
78
"essential": true,
89
"environment": [
@@ -152,8 +153,8 @@
152153
{
153154
"name": "livebook",
154155
"image": "${docker_repository}:livebook-latest",
155-
"cpu": 512,
156-
"memoryReservation": 512,
156+
"cpu": 0,
157+
"memoryReservation": 256,
157158
"portMappings": [
158159
{
159160
"name": "livebook-8080-tcp",

0 commit comments

Comments
 (0)