dont run migrations automatically
This commit is contained in:
parent
c046b8e5d2
commit
1469545429
|
@ -76,17 +76,17 @@ services:
|
||||||
- db
|
- db
|
||||||
# volumes:
|
# volumes:
|
||||||
# - ./services/bright/lib:/app/lib
|
# - ./services/bright/lib:/app/lib
|
||||||
# develop:
|
develop:
|
||||||
# watch:
|
watch:
|
||||||
# - action: sync
|
- action: sync
|
||||||
# path: ./services/bright/
|
path: ./services/bright/
|
||||||
# target: /app/
|
target: /app/
|
||||||
# - action: sync+restart
|
- action: sync+restart
|
||||||
# path: ./services/bright/application.ex
|
path: ./services/bright/application.ex
|
||||||
# target: /app/lib/bright/application.ex
|
target: /app/lib/bright/application.ex
|
||||||
# - action: sync+restart
|
- action: sync+restart
|
||||||
# path: ./services/bright/mix.exs
|
path: ./services/bright/mix.exs
|
||||||
# target: /app/mix.exs
|
target: /app/mix.exs
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:15
|
image: postgres:15
|
||||||
|
|
|
@ -70,7 +70,9 @@ RUN mix release
|
||||||
|
|
||||||
## dev target
|
## dev target
|
||||||
FROM builder AS dev
|
FROM builder AS dev
|
||||||
CMD [ "mix", "ecto.setup", "&&", "mix", "phx.server" ]
|
# RUN mix ecto.setup
|
||||||
|
RUN echo "balls. that is all."
|
||||||
|
CMD [ "mix", "phx.server" ]
|
||||||
|
|
||||||
|
|
||||||
# start a new build stage so that the final image will only contain
|
# start a new build stage so that the final image will only contain
|
||||||
|
|
|
@ -51,13 +51,13 @@ defmodule BrightWeb.Router do
|
||||||
# get "/vtubers/:id/edit", VtuberController, :edit
|
# get "/vtubers/:id/edit", VtuberController, :edit
|
||||||
# end
|
# end
|
||||||
|
|
||||||
resources "/vtubers", VtuberController do
|
# resources "/vtubers", VtuberController do
|
||||||
get "/vods/new", VodController, :new
|
# get "/vods/new", VodController, :new
|
||||||
get "/vods", VodController, :index
|
|
||||||
get "/vods/:id", VodController, :show
|
# post "/vods", VodController, :create
|
||||||
post "/vods", VodController, :create
|
# get "/vtubers/:id/edit", VtuberController, :edit
|
||||||
get "/vtubers/:id/edit", VtuberController, :edit
|
# end
|
||||||
end
|
|
||||||
|
|
||||||
get "/tags/new", TagController, :new
|
get "/tags/new", TagController, :new
|
||||||
post "/tags", TagController, :create
|
post "/tags", TagController, :create
|
||||||
|
@ -86,6 +86,8 @@ defmodule BrightWeb.Router do
|
||||||
# get "/vods/:id", VodController, :show
|
# get "/vods/:id", VodController, :show
|
||||||
|
|
||||||
resources "/vods", VodController
|
resources "/vods", VodController
|
||||||
|
get "/vods/:id", VodController, :show
|
||||||
|
get "/vods", VodController, :index
|
||||||
|
|
||||||
|
|
||||||
get "/tags", TagController, :index
|
get "/tags", TagController, :index
|
||||||
|
|
Loading…
Reference in New Issue