-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (51 loc) · 1.44 KB
/
docker-compose.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
# Copyright Intern MSIB6 @ PT Len Industri (Persero)
#
# THIS SOFTWARE SOURCE CODE AND ANY EXECUTABLE DERIVED THEREOF ARE PROPRIETARY
# TO PT LEN INDUSTRI (PERSERO), AS APPLICABLE, AND SHALL NOT BE USED IN ANY WAY
# OTHER THAN BEFOREHAND AGREED ON BY PT LEN INDUSTRI (PERSERO), NOR BE REPRODUCED
# OR DISCLOSED TO THIRD PARTIES WITHOUT PRIOR WRITTEN AUTHORIZATION BY
# PT LEN INDUSTRI (PERSERO), AS APPLICABLE.
#
# Created Date: Tuesday, March 19th 2024, 12:39:01 pm
# Author: Jody Yuantoro | jodyyuan@xyzuan.my.id <https://github.com/xyzuan>
#
version: "3"
services:
mf-ecommerce-host:
image: "xyzuan/mf-ecommerce-host:latest"
container_name: mf-ecommerce-host
ports:
- "4250:4250"
networks:
- nginx_default
mf-list-product:
image: "xyzuan/mf-list-product:latest"
container_name: mf-list-product
ports:
- "4251:4251"
networks:
- nginx_default
mf-payment-and-cart:
image: "xyzuan/mf-payment-and-cart:latest"
container_name: mf-payment-and-cart
ports:
- "4252:4252"
networks:
- nginx_default
db:
image: "postgres:14.5-alpine"
restart: always
container_name: ecommerce-db
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=ecommerce123
ports:
- "41120:5432"
volumes:
- /home/xyzuan/work/len/ecommerce_db:/var/lib/postgresql/data
networks:
- nginx_default
networks:
nginx_default:
external: true