-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
59 lines (53 loc) · 1.37 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
54
55
56
57
58
59
version: '3.6'
services:
database:
image: "mcr.microsoft.com/mssql/server:2019-CU5-ubuntu-18.04"
command: /bin/bash ./entrypoint.sh
container_name: protheus_mssql
environment:
SA_PASSWORD: ${DB_PASS}
ACCEPT_EULA: "Y"
MSSQL_DB: ${DB_NAME}
volumes:
- ./docker/mssql/entrypoint.sh:/entrypoint.sh
- ./docker/mssql/dbinit.sh:/dbinit.sh
- ./docker/mssql/dbinit.sql:/dbinit.sql
ports:
- ${DB_PORT}:1433
license:
image: danielolalb/totvs_protheus_ls
container_name: protheus_license
dbaccess:
build: ./docker/totvs-dbaccess-docker
container_name: protheus_dbaccess
ports:
- 7890:7890
environment:
- DB_TYPE=${DB_TYPE}
- DB_HOST=${DB_HOST}
- DB_PORT=${DB_PORT}
- DB_USER=${DB_USER}
- DB_PASS=${DB_PASS}
- DB_NAME=${DB_NAME}
depends_on:
- database
- license
appserver:
build: ./docker/totvs-appserver-docker
container_name: protheus_appserver
ports:
- 9999:9999
- 8080:8080
user: root
environment:
- DBACCESS_SERVER=${DBACCESS_SERVER}
- DBACCESS_ALIAS=${DBACCESS_ALIAS}
- DBACCESS_PORT=${DBACCESS_PORT}
volumes:
- ${PROTHEUS_DATA_PATH}:/totvs12/protheus_data
- ${PROTHEUS_APO_PATH}:/totvs12/protheus/apo
depends_on:
- dbaccess
- license
volumes:
mssql_data: {}