forked from pengovbr/mod-sei-protocolo-integrado
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
81 lines (73 loc) · 2.31 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: '2'
services:
jod:
image: processoeletronico/vagrant_sei4_jod:${ENVIRONMENT_VERSION}
container_name: jod
smtp:
image: processoeletronico/vagrant_sei4_mailcatcher:${ENVIRONMENT_VERSION}
ports:
- "1080:1080"
memcached:
image: processoeletronico/vagrant_sei4_memcached:${ENVIRONMENT_VERSION}
ports:
- "11211:11211"
database:
image: ${DATABASE_IMAGE}:${ENVIRONMENT_VERSION}
volumes:
- ${DATABASE_TYPE}:${DATABASE_DATA_DIR}
ports:
- ${DATABASE_PORT}:${DATABASE_PORT}
solr:
image: processoeletronico/vagrant_sei4_solr:${ENVIRONMENT_VERSION}
ports:
- "8983:8983"
httpd:
image: processoeletronico/vagrant_sei4_httpd:${ENVIRONMENT_VERSION}
restart: always
extra_hosts:
- "host.docker.internal:host-gateway"
env_file:
- .modulo.env
ports:
- "80:8000"
- "8000:8000"
depends_on:
- database
volumes:
- ${SEI_PATH}/sei:/opt/sei
- ${SEI_PATH}/sip:/opt/sip
- ${SEI_PATH}/infra:/opt/infra
- ./src:/opt/sei/web/modulos/protocolo-integrado
- ./src/scripts:/opt/sei/scripts/mod-protocolo-integrado
- ./src/scripts:/opt/sip/scripts/mod-protocolo-integrado
- ./src/config:/opt/sei/config/mod-protocolo-integrado
- ./src/config/ConfiguracaoSEI.php:/opt/sei/config/ConfiguracaoSEI.php
- ./src/config/ConfiguracaoSip.php:/opt/sip/config/ConfiguracaoSip.php
- .:/project
environment:
- LANG=pt_BR.ISO-8859-1
- XDEBUG_CONFIG=client_host=host.docker.internal client_port=9003 start_with_request=0
- XDEBUG_SESSION=default
- XDEBUG_MODE=debug
- HOST_URL=${SEI_HOST}
- 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}
- SIP_CHAVE_ACESSO=${SIP_CHAVE_ACESSO}
- SIP_DATABASE_NAME=${SIP_DATABASE_NAME}
- SIP_DATABASE_USER=${SIP_DATABASE_USER}
- SIP_DATABASE_PASSWORD=${SIP_DATABASE_PASSWORD}
links:
- database:${DATABASE_HOST}
- memcached:memcached
- solr:solr
- smtp:smtp
- jod:jod
volumes:
MySql:
Oracle:
SqlServer: