Advertisement
Guest User

docker bug

a guest
Nov 22nd, 2018
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.95 KB | None | 0 0
  1. version: '3'
  2. services:
  3.        postgres:
  4.                 image: 'bitnami/postgresql:latest'
  5.                 expose:
  6.                         - '5432:5432'
  7.                 enviroment:
  8.                         - POSTGRES_USER=p3tcl1n1c
  9.                         - POSTGRES_PASSWORD=v4c1n4*4nt1r4b1c4
  10.                         - POSTGRES_DB=petclinic
  11.                         - POSTGRES_ROOT_PASSWORD=fu1a0m3rc4d0*0nt3n
  12.                 volumes:
  13.                         - 'banco:/var/lib/postgresql/data'  
  14.        
  15.         tomcat:
  16.                 image: 'tomcat'
  17.                 ports:
  18.                         - "8080:8080"
  19.                 volumes:
  20.                         - 'web:/usr/local/tomcat/webapps'
  21.                 enviroment:
  22.  
  23.                         - DATABASE_NAME=petclinic
  24.                         - DATABASE_USER=p3tcl1n1c
  25.                         - DATABASE_PASSWORD=v4c1n4*4nt1r4b1c4
  26.                 depends_on:
  27.                         - postgres
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement