-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (33 loc) · 814 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (33 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '3.3'
services:
global-api-marketplace-app:
image: kapilas/global-api-marketplace-app:latest
# build:
# context: .
# dockerfile: Dockerfile
ports:
- "8080:8080"
restart: always
depends_on:
- api-postgres
environment:
POSTGRES_HOST: api-postgres
networks:
- global-api-marketplace-app-network
api-postgres:
image: postgres:11
ports:
- "5432:5432"
restart: always
environment:
POSTGRES_DB: apiportaldb
POSTGRES_PASSWORD: mysecretpassword
POSTGRES_USER: postgres
volumes:
- postgres-database-data-volume:/var/lib/postgresql/data
networks:
- global-api-marketplace-app-network
volumes:
postgres-database-data-volume:
networks:
global-api-marketplace-app-network: