Skip to content

Latest commit

 

History

History
41 lines (38 loc) · 941 Bytes

compose.yaml.org

File metadata and controls

41 lines (38 loc) · 941 Bytes

version: ‘3.8’ services: app: image: mraxel01/citronix:latest ports:

  • “9090:8080”

environment: SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/${POSTGRES_DB} SPRING_DATASOURCE_USERNAME: ${DB_USERNAME} SPRING_DATASOURCE_PASSWORD: ${DB_PASSWORD} depends_on:

  • postgres

networks:

  • app-network

restart: unless-stopped

postgres: image: ‘postgres:latest’ environment:

  • POSTGRES_DB=${POSTGRES_DB}
  • POSTGRES_PASSWORD=${DB_PASSWORD}
  • POSTGRES_USER=${DB_USERNAME}

ports:

  • “5432:5432”

networks:

  • app-network

pgadmin: image: ‘dpage/pgadmin4:latest’ environment: PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL} PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD} PGADMIN_LISTEN_PORT: 5050 ports:

  • ‘5050:5050’

networks:

  • app-network

networks: app-network: driver: bridge