Skip to content

Commit

Permalink
this now works, how can we make this configurable.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenry committed Jan 24, 2015
1 parent 285e2fc commit ae9b5cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,4 @@ Vagrant.configure(2) do |config|
d.vagrant_vagrantfile = "./DockerHostVagrantfile"
end
end

config.vm.define "web" do |web|
web.vm.provider "docker" do |d|
d.build_dir = "."
d.link "postgres:postgres"
d.ports = ["8080:8080"]
d.vagrant_vagrantfile = "./DockerHostVagrantfile"
end
end

end
2 changes: 1 addition & 1 deletion src/main/resources/application-production.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spring.jpa.hibernate.ddl-auto=create-drop
spring.datasource.url=jdbc:postgresql://postgres:5432
spring.datasource.url=jdbc:postgresql://localhost:5432
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.driverClassName=org.postgresql.Driver
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spring.jpa.hibernate.ddl-auto=create-drop
spring.datasource.url=jdbc:postgresql://postgres:5432/postgres
spring.datasource.url=jdbc:postgresql://localhost:5432/postgres
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.driverClassName=org.postgresql.Driver

0 comments on commit ae9b5cc

Please sign in to comment.