-
Notifications
You must be signed in to change notification settings - Fork 16
/
exemplo.docker-compose.yml
122 lines (116 loc) · 3.6 KB
/
exemplo.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
version: '2'
services:
web:
build: .
image: culturagovbr/salic-web:1.8
container_name: salic-web
ports:
- "80:80"
volumes:
- .:/var/www/salic
- ./log/apache2:/var/log/apache2
- ./public/txt:/var/www/salic/public/txt/
- ./public/plenaria:/var/www/salic/public/plenaria/
environment:
- APPLICATION_ENV=development
- UPDATE_COMPOSER_DEPENDENCIES="false"
####xDebug configs for 'development' enviroment
# - XDEBUG_INSTALL="false"
# - XDEBUG_REMOTE_ENABLE=on
# - XDEBUG_REMOTE_AUTOSTART=on
# - XDEBUG_REMOTE_HANDLER=dbgp
# - XDEBUG_REMOTE_CONNECT_BACK=1
# - XDEBUG_PROFILER_ENABLE=1
# - XDEBUG_PROFILER_OUTPUT_DIR=/tmp/www/html
# - XDEBUG_REMOTE_PORT=9000
# - XDEBUGINI_PATH=/usr/local/etc/php/conf.d/xdebug.ini
#
# - XDEBUG_DEFAULT_ENABLE=1
# - XDEBUG_IDEKEY=PHPSTORM
- DB_ADAPTER=PDO_MSSQL
- DB_USERNAME=sa
- DB_PASSWORD=salic@123456
- DB_NAME=sac
- DB_HOST=salic-mssql
- DB_PORT=1433
- DB_PDOTYPE=dblib
- RECEITA_URL=http://homolog.cultura.gov.br
- RECEITA_USER=PREENCHER
- RECEITA_PASSWORD=PREENCHER
- EMAIL_DEFAULT=PREENCHER
- EMAIL_TRANSPORT_HOST=PREENCHER
- EMAIL_TRANSPORT_TYPE=smtp
- EMAIL_TRANSPORT_AUTH=login
- EMAIL_TRANSPORT_USERNAME=PREENCHER
- EMAIL_TRANSPORT_PASSWORD=PREENCHER
- MOBILE_SALICMOBILEHASH=PREENCHER
- MOBILE_ENCRYPTHASH=PREENCHER
- MOBILE_GCMAPIKEY=PREENCHER
- MOBILE_GCMURL=PREENCHER
- SENTRY_URL=
- AVALIACAO_PROPOSTA_HASH=LDASfrwerwer12312QWErwet!Asfdasgftrt45.!!2a
- URL_BASE=http://salic.cultura.gov.br
- DISPLAY_ERRORS=1
- DISPLAY_STARTUP_ERRORS=1
- JWT_TOKEN=adsa1w681f681awd651123654f
- HOST_NFE=http://localhost:8080/notas
- TEST_LOGIN=12345678900
- TEST_PASSWORD=123456
# webserver:
# image: nginx:alpine
# container_name: salic-api-webserver
# working_dir: /application
# volumes:
# - ./api:/application
# - ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
# ports:
# - "81:80"
# php-fpm:
# build: docker/php-fpm
# container_name: salic-api-php-fpm
# working_dir: /application
# volumes:
# - ./api:/application
# - ./docker/php-fpm/php-ini-overrides.ini:/etc/php/7.2/fpm/conf.d/99-overrides.ini
################################################
# Serviço da nota fiscal eletronica
################################################
# nfe-nginx-backend:
# image: culturagovbr/nfe-nginx-backend
# container_name: nfe-nginx
# working_dir: /app
# ports:
# - "8081:8081"
# depends_on:
# - "nfe-php-fpm"
# nfe-php-fpm:
# image: culturagovbr/nfe-php-fpm
# container_name: nfe-php-fpm
# working_dir: /app
# nfe-mongo:
# image: culturagovbr/nfe-mongo
# container_name: nfe-mongo
# environment:
# MONGO_INITDB_ROOT_USERNAME: root
# MONGO_INITDB_ROOT_PASSWORD: root
# MONGO_DATA_DIR: /data
# volumes:
# - ./data:/data
#
# nfe-visual:
# image: culturagovbr/nfe-visual
# container_name: nfe-visual
# ports:
# - "8082:80"
################################################
# Serviço da nota fiscal eletronica
################################################
# networks:
# static-network:
# ipv4_address: 172.20.0.3
#networks:
# static-network:
# ipam:
# config:
# - subnet: 172.20.0.0/16
# iprange: 172.28.5.0/24