Skip to content
Snippets Groups Projects

merge Setting

Merged Madeline Carpentier requested to merge setting into develop
4 files
+ 40
3
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 37
0
version: '3'
services:
db:
image: postgres:14
container_name: postgres_container
environment:
POSTGRES_DB: bdd_assure
POSTGRES_USER: postgres
POSTGRES_PASSWORD: root
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- app-network
app:
build:
context: .
dockerfile: src/main/docker/Dockerfile
container_name: spring_app
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://db:5432/bdd_assure
SPRING_DATASOURCE_USERNAME: postgres
SPRING_DATASOURCE_PASSWORD: root
ports:
- "8080:8080"
depends_on:
- db
networks:
- app-network
volumes:
postgres_data:
networks:
app-network:
\ No newline at end of file
Loading