File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # To run the cloud version locally, first build the application using:
2+ #
3+ # ./mvnw clean package -Pcloud
4+ # -DpostgreSqlJdbcUrl="jdbc:postgresql://postgres:5432/postgres"
5+ # -DpostgreSqlUsername="cargotracker" -DpostgreSqlPassword="cargotracker"
6+ #
7+ # Then start the services with:
8+ #
9+ # docker-compose up
10+ #
11+ version : ' 3.8'
12+
13+ services :
14+ postgres :
15+ image : postgres:16
16+ environment :
17+ POSTGRES_USER : cargotracker
18+ POSTGRES_PASSWORD : cargotracker
19+ POSTGRES_DB : postgres
20+ ports :
21+ - " 5432:5432"
22+ volumes :
23+ - postgres-data:/var/lib/postgresql/data
24+
25+ cargotracker :
26+ build : .
27+ ports :
28+ - " 8080:8080"
29+ depends_on :
30+ - postgres
31+ environment :
32+ DB_HOST : postgres
33+
34+ volumes :
35+ postgres-data :
You can’t perform that action at this time.
0 commit comments