Update the docker-compose to run also run the tomcat.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
db:
|
||||
postgres:
|
||||
image: postgres:15-alpine
|
||||
restart: always
|
||||
volumes:
|
||||
@@ -12,3 +12,12 @@ services:
|
||||
POSTGRES_PASSWORD: testpassword
|
||||
ports:
|
||||
- 5432:5432
|
||||
|
||||
tomcat:
|
||||
build: .
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- postgres
|
||||
|
||||
Reference in New Issue
Block a user