We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b57681 commit a25d311Copy full SHA for a25d311
docker-compose.yml
@@ -1,11 +1,4 @@
1
-#version: '3.8'
2
-
3
-networks:
4
- gv-network:
5
- driver: bridge
6
-volumes:
7
- prometheus_data:
8
- grafana_data:
+version: '3.8'
9
10
services:
11
postgres:
@@ -16,4 +9,23 @@ services:
16
environment:
17
- POSTGRES_USER=admin
18
- POSTGRES_PASSWORD=admin
19
- - POSTGRES_DB=restful_users
12
+ - POSTGRES_DB=restful_users
13
+ networks:
14
+ - backend
15
+
+ api:
+ container_name: restful-api-users-java-api
+ build:
+ context: .
20
+ dockerfile: Dockerfile
21
+ depends_on:
22
+ - postgres
23
+ ports:
24
+ - 8080:8080
25
+ env_file:
26
+ - ./src/main/resources/application-dev.properties
27
28
29
30
+networks:
31
+ backend:
0 commit comments