-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5668a3d
commit 627391c
Showing
33 changed files
with
307 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
BASE_URL=http://172.18.3.106/ | ||
|
||
APP_MODE=production | ||
LOG_LEVEL=DEBUG | ||
LOG_ENABLED=true | ||
|
||
CEP_TOKEN= | ||
|
||
MAILER_USER= | ||
MAILER_SERVER= | ||
MAILER_PROTOCOL= | ||
MAILER_PORT= | ||
MAILER_PASS= | ||
MAILER_FROM= | ||
|
||
# Usado para redirecionar todos os e-mails da plataforma para um email fixo, | ||
# evitand envio de emails para os usuários | ||
MAILER_ALWAYSTO= | ||
|
||
DB_HOST=db | ||
DB_NAME=mapas | ||
DB_USER=mapas | ||
DB_PASS=mapas | ||
DB_VERSION=14 | ||
|
||
REDIS_CACHE=redis | ||
SESSIONS_SAVE_PATH=tcp://sessions:6379 | ||
ACTIVE_THEME=Ceara | ||
|
||
# as chaves abaixo são de desenvolvimento, precisam ser substituidas em ambiente de produção | ||
GOOGLE_RECAPTCHA_SITEKEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI | ||
GOOGLE_RECAPTCHA_SECRET=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe | ||
|
||
PENDING_PCACHE_RECREATION_INTERVAL=1 | ||
JOBS_INTERVAL=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[submodule "src/protected/application/plugins/MultipleLocalAuth"] | ||
path = src/protected/application/plugins/MultipleLocalAuth | ||
url = https://github.com/mapasculturais/plugin-MultipleLocalAuth | ||
branch = master | ||
[submodule "src/protected/application/plugins/AldirBlanc"] | ||
path = src/protected/application/plugins/AldirBlanc | ||
url = https://github.com/govce/plugin-AldirBlanc.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/AldirBlancDataprev"] | ||
path = src/protected/application/plugins/AldirBlancDataprev | ||
url = https://github.com/govce/plugin-AldirBlancDataprev.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/AldirBlancValidador"] | ||
path = src/protected/application/plugins/AldirBlancValidador | ||
url = https://github.com/govce/plugin-AldirBlancValidador.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/AldirBlancValidadorFinanceiro"] | ||
path = src/protected/application/plugins/AldirBlancValidadorFinanceiro | ||
url = https://github.com/govce/plugin-AldirBlancValidadorFinanceiro.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/RegistrationPayments"] | ||
path = src/protected/application/plugins/RegistrationPayments | ||
url = https://github.com/govce/plugin-RegistrationPayments.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/RegistrationPaymentsAuxilio"] | ||
path = src/protected/application/plugins/RegistrationPaymentsAuxilio | ||
url = https://github.com/secultce/plugin-FinancialAssistance2021.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/Report"] | ||
path = src/protected/application/plugins/Report | ||
url = https://github.com/secultce/plugin-reports-documentary-technical.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/pwa"] | ||
path = src/protected/application/plugins/pwa | ||
url = https://github.com/govce/plugin-PWA.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/ChatTawkto"] | ||
path = src/protected/application/plugins/ChatTawkto | ||
url = https://github.com/govce/plugin-ChatTawkto.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/EvaluationMethodSeplag"] | ||
path = src/protected/application/plugins/EvaluationMethodSeplag | ||
url = https://github.com/secultce/plugin-EvaluationMethodSeplag.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/Accessibility"] | ||
path = src/protected/application/plugins/Accessibility | ||
url = https://github.com/govce/plugin-Accessibility.git | ||
branch = master | ||
[submodule "src/protected/application/plugins/LocationStateCity"] | ||
path = src/protected/application/plugins/LocationStateCity | ||
url = https://github.com/secultce/plugin-LocationStateCity.git | ||
branch = main | ||
[submodule "src/protected/application/themes/Ceara"] | ||
path = src/protected/application/themes/Ceara | ||
url = https://github.com/secultce/theme-Ceara.git | ||
branch = master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
#git submodule add -b master https://github.com/govce/plugin-AldirBlanc.git plugins/AldirBlanc | ||
|
||
for i in $(cat submodules) | ||
do | ||
git submodule add -b $(echo $i | cut -d ";" -f 1) $(echo $i | cut -d ";" -f 2) $(echo $i | cut -d ";" -f 3) | ||
# git submodule deinit -f $(echo $i | cut -d ";" -f 3) | ||
# rm -rf .git/modules/$(echo $i | cut -d ";" -f 3) | ||
# git rm -f $(echo $i | cut -d ";" -f 3) | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
version: '3' | ||
services: | ||
nginx: | ||
image: nginx:latest | ||
restart: unless-stopped | ||
volumes: | ||
- /dev/null:/var/www/html/index.php | ||
- ./docker-data/public-files:/var/www/html/files | ||
- ./docker-data/assets:/var/www/html/assets | ||
##### versão sem ssl | ||
- ./compose/production/nginx.conf:/etc/nginx/conf.d/default.conf | ||
|
||
##### versão com ssl | ||
# - ./compose/production/nginx-ssl.conf:/etc/nginx/conf.d/default.conf | ||
# - ./docker-data/certs/conf:/etc/letsencrypt | ||
# - ./docker-data/certs/www:/var/www/certbot | ||
ports: | ||
- "80:80" | ||
- "443:443" | ||
depends_on: | ||
- mapas | ||
links: | ||
- mapas | ||
|
||
mapas: | ||
env_file: | ||
- .env | ||
image: secultceara/mapa:5.7.1 | ||
restart: unless-stopped | ||
volumes: | ||
- ./docker-data/assets:/var/www/html/assets | ||
#- ./docker-data/public-files:/var/www/html/files | ||
#- ./docker-data/private-files:/var/www/private-files | ||
#- ./docker-data/saas-files:/var/www/SaaS | ||
links: | ||
- db | ||
- redis | ||
- sessions | ||
depends_on: | ||
- db | ||
- redis | ||
- sessions | ||
|
||
redis: | ||
image: redis:6 | ||
command: --maxmemory 256Mb --maxmemory-policy allkeys-lru | ||
restart: unless-stopped | ||
|
||
sessions: | ||
image: redis:6 | ||
command: --maxmemory 384Mb --maxmemory-policy allkeys-lru | ||
restart: unless-stopped | ||
volumes: | ||
- ./docker-data/sessions:/data | ||
|
||
db: | ||
image: postgis/postgis:14-master | ||
restart: unless-stopped | ||
environment: | ||
- POSTGRES_PASSWORD=mapas | ||
- POSTGRES_USER=mapas | ||
- POSTGRES_DB=mapas | ||
volumes: | ||
#- ./compose/db/dump.sql:/docker-entrypoint-initdb.d/dump.sql | ||
- ./docker-data/db-data:/var/lib/postgresql/data | ||
|
||
|
||
## Em ambiente de homologação pode ser uma boa ideia utilizar o mailhog para testar | ||
## o envio de emails e também prevenir que emails de tete sejam disparados acidentalmente | ||
## para os usuários no caso de o ambiente de homologação utilizar um banco de dados cópia | ||
## de produção | ||
|
||
# mailhog: | ||
# image: mailhog/mailhog | ||
# ports: | ||
# - "8025:8025" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
return [ | ||
'app.siteName' => 'Mapas Culturais Base Project', | ||
'app.siteDescription' => 'O Mapas Culturais é uma plataforma colaborativa que reúne informações sobre agentes, espaços, eventos, projetos culturais e oportunidades', | ||
|
||
// Define o tema ativo no site principal. Deve ser informado o namespace do tema e neste deve existir uma classe Theme. | ||
'themes.active' => 'MapasCulturais\Themes\BaseV1', | ||
|
||
// Ids dos selos verificadores. Para utilizar múltiplos selos informe os ids separados por vírgula. | ||
'app.verifiedSealsIds' => '1', | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
return [ | ||
'maps.center' => [ | ||
-14.2400732, //latitude | ||
-53.1805018 // longitude | ||
], | ||
|
||
'maps.zoom.default' => 5, | ||
'maps.zoom.approximate' => 14, | ||
'maps.zoom.precise' => 16, | ||
'maps.zoom.max' => 18, | ||
'maps.zoom.min' => 5, | ||
|
||
'maps.tileServer' => '//{s}.tile.osm.org/{z}/{x}/{y}.png', | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
return [ | ||
'plugins' => [ | ||
'EvaluationMethodTechnical' => ['namespace' => 'EvaluationMethodTechnical', 'config' => ['step' => 0.5]], | ||
'EvaluationMethodSimple' => ['namespace' => 'EvaluationMethodSimple'], | ||
'EvaluationMethodDocumentary' => ['namespace' => 'EvaluationMethodDocumentary'], | ||
|
||
'MultipleLocalAuth' => [ 'namespace' => 'MultipleLocalAuth' ], | ||
'SamplePlugin' => ['namespace' => 'SamplePlugin'], | ||
] | ||
]; |
Oops, something went wrong.