version: '3.8' services: bns_system: build: context: . dockerfile: Dockerfile.dev container_name: bns_system-dev ports: - "9090:8080" environment: CATALINA_OPTS: >- -DDB_URL=jdbc:postgresql://211.115.91.141:11133/bns_system -DDB_USERNAME=postgres -DDB_PASSWORD=waceplm0909!! volumes: - bns_system-project_data:/data_storage - bns_system-app_data:/path/inside/container restart: unless-stopped volumes: bns_system-project_data: bns_system-app_data: