Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- postgres:
- image: 'bitnami/postgresql:latest'
- expose:
- - '5432:5432'
- enviroment:
- - POSTGRES_USER=p3tcl1n1c
- - POSTGRES_PASSWORD=v4c1n4*4nt1r4b1c4
- - POSTGRES_DB=petclinic
- - POSTGRES_ROOT_PASSWORD=fu1a0m3rc4d0*0nt3n
- volumes:
- - 'banco:/var/lib/postgresql/data'
- tomcat:
- image: 'tomcat'
- ports:
- - "8080:8080"
- volumes:
- - 'web:/usr/local/tomcat/webapps'
- enviroment:
- - DATABASE_NAME=petclinic
- - DATABASE_USER=p3tcl1n1c
- - DATABASE_PASSWORD=v4c1n4*4nt1r4b1c4
- depends_on:
- - postgres
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement