diff --git a/.env-example b/.env-example new file mode 100644 index 00000000..db95ec67 --- /dev/null +++ b/.env-example @@ -0,0 +1,6 @@ +ENVIRONMENT=development + +POSTGRES_USER=yourusernamehere +POSTGRES_PASSWORD=yourpasswordhere + +APP_NAME="You App Name Here" \ No newline at end of file diff --git a/.gitignore b/.gitignore index a9ce452f..d2016b9b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,9 @@ # or operating system, you probably want to add a global ignore instead: # git config --global core.excludesfile '~/.gitignore_global' +# Ignore the actual contents of .env +.env + # Ignore bundler config. /.bundle diff --git a/Dockerfile b/Dockerfile index 7b8ea58e..6d79dfc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,5 +29,4 @@ ENTRYPOINT ["/app/docker-entrypoint.sh"] EXPOSE 3000 -# Start the main process. -CMD ["foreman", "start", "-p", "3000"] +# No default CMD is provided in Dockerfile diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index f6a63b60..1ec01108 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -1,6 +1,6 @@