-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathdocker-compose.yml
82 lines (74 loc) · 2.28 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: '2'
services:
jod:
image: processoeletronico/vagrant_sei4_jod:${ENVIRONMENT_VERSION}
container_name: jod
ports:
- "8080:8080"
smtp:
image: processoeletronico/vagrant_sei4_mailcatcher:${ENVIRONMENT_VERSION}
container_name: smtp
ports:
- "1080:1080"
memcached:
image: processoeletronico/vagrant_sei4_memcached:${ENVIRONMENT_VERSION}
container_name: memcached
ports:
- "11211:11211"
database:
image: ${DATABASE_IMAGE}:${ENVIRONMENT_VERSION}
container_name: database
restart: always
volumes:
- ${DATABASE_TYPE}:${DATABASE_DATA_DIR}
ports:
- ${DATABASE_PORT}:${DATABASE_PORT}
solr:
image: processoeletronico/vagrant_sei4_solr:${ENVIRONMENT_VERSION}
container_name: solr
ports:
- "8983:8983"
httpd:
image: processoeletronico/vagrant_sei4_httpd:${ENVIRONMENT_VERSION}
container_name: httpd
restart: always
ports:
- "8000:8000"
depends_on:
- database
volumes:
- /mnt/sei/src/sei:/opt/sei
- /mnt/sei/src/sip:/opt/sip
- /mnt/sei/src/infra:/opt/infra
environment:
- LANG=pt_BR.ISO-8859-1
- XDEBUG_CONFIG="idekey=default client_host=host.docker.internal client_port=9003 discover_client_host=1"
- XDEBUG_SESSION=default
- XDEBUG_MODE=debug
- HOST_URL=http://localhost:8000
- DATABASE_TYPE=${DATABASE_TYPE}
- DATABASE_HOST=${DATABASE_HOST}
- DATABASE_PORT=${DATABASE_PORT}
- SEI_CHAVE_ACESSO=${SEI_CHAVE_ACESSO}
- SEI_DATABASE_NAME=${SEI_DATABASE_NAME}
- SEI_DATABASE_USER=${SEI_DATABASE_USER}
- SEI_DATABASE_PASSWORD=${SEI_DATABASE_PASSWORD}
- SEI_DATABASE_USER_SCRIPT=${SEI_DATABASE_USER_SCRIPT}
- SEI_DATABASE_PASSWORD_SCRIPT=${SEI_DATABASE_PASSWORD_SCRIPT}
- SIP_CHAVE_ACESSO=${SIP_CHAVE_ACESSO}
- SIP_DATABASE_NAME=${SIP_DATABASE_NAME}
- SIP_DATABASE_USER=${SIP_DATABASE_USER}
- SIP_DATABASE_PASSWORD=${SIP_DATABASE_PASSWORD}
- SIP_DATABASE_USER_SCRIPT=${SIP_DATABASE_USER_SCRIPT}
- SIP_DATABASE_PASSWORD_SCRIPT=${SIP_DATABASE_PASSWORD_SCRIPT}
links:
- database:${DATABASE_HOST}
- memcached:memcached
- solr:solr
- smtp:smtp
- jod:jod
volumes:
MySql:
Oracle:
SqlServer:
PostgreSql: