This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
forked from adempiere/adempiere-vue
-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yaml
58 lines (54 loc) · 1.54 KB
/
docker-compose.yaml
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
54
55
56
57
58
version: '3.9'
name: adempiere-vue
services:
grpc-backend:
image: solopcloud/adempiere-backend:alpine-2.2.0
container_name: adempiere-backend
healthcheck:
test: "bash -c 'printf \"GET / HTTP/1.1\n\n\" > /dev/tcp/127.0.0.1/50059; exit $?;'"
interval: 10s
retries: 60
start_period: 20s
timeout: 10s
stdin_open: true
tty: true
environment:
- SERVER_PORT=50059
- IS_ENABLED_ALL_SERVICES=true
- JWT_SECRET_KEY=A42CF908019918B1D9D9E04E596658345D162D4C0127A4C8365E8BDF6B015CC7
- SERVER_LOG_LEVEL=WARNING
- TZ="America/Caracas"
# Consider the host and network where the docker server is located
- DB_TYPE=PostgreSQL
- DB_HOST=postgres_host
- DB_PORT=5432
- DB_NAME=adempiere
- DB_USER=adempiere
- DB_PASSWORD=adempiere
ports:
- 50059:50059
grpc-proxy:
image: solopcloud/adempiere-grpc-proxy:2.2.0
container_name: adempiere-grpc-proxy
stdin_open: true
tty: true
depends_on:
grpc-backend:
condition: service_healthy
environment:
- SERVER_PORT=5555
- BACKEND_HOST=adempiere-backend
- BACKEND_PORT=50059
ports:
- 5555:5555
vue-app:
image: solopcloud/adempiere-vue:alpine-3.4.0
container_name: adempiere-frontend
stdin_open: true
tty: true
environment:
# Set the ip or dns of the server (not the dns of the container) to access from other client hosts
- API_URL=http://localhost:5555/api/
- TZ="America/Caracas"
ports:
- 9526:80