-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #207 from fga-eps-mds/release/v0.3.1
Release 3
- Loading branch information
Showing
774 changed files
with
72,837 additions
and
465 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
POSTGRES_USER=postgres | ||
POSTGRES_PASSWORD= | ||
POSTGRES_DB=postgres | ||
POSTGRES_HOST=db | ||
HOST=http://localhost:8000/ |
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,4 @@ | ||
POSTGRES_USER=acaciaelis | ||
POSTGRES_PASSWORD=acacia | ||
POSTGRES_DB=acacia | ||
POSTGRES_HOST=postgres-production |
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,4 @@ | ||
POSTGRES_USER=acaciaelis | ||
POSTGRES_PASSWORD=acacia | ||
POSTGRES_DB=acacia | ||
POSTGRES_HOST=postgres-staging |
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,18 @@ | ||
name: deploy-production | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Docker login | ||
run: docker login --username=${{secrets.DOCKER_USER}} --password=${{secrets.DOCKER_PASS}} | ||
- name: Docker build | ||
run: docker build -t acaciaelis/acacia:django-prod . | ||
- name: Docker push | ||
run: docker push acaciaelis/acacia:django-prod |
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,19 @@ | ||
name: deploy-staging | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- release/* | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Docker login | ||
run: docker login --username=${{secrets.DOCKER_USER}} --password=${{secrets.DOCKER_PASS}} | ||
- name: Docker build | ||
run: docker build -t acaciaelis/acacia:django-staging . | ||
- name: Docker push | ||
run: docker push acaciaelis/acacia:django-staging |
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
<br> | ||
<br> | ||
<br> | ||
|
||
<img src="./docs/img/identidade/gitpages/gitpage_logo.png" width="400" height="340"> | ||
|
||
<br> | ||
<br> | ||
|
||
<h1 class="title-home fadeIn" color="white"> Colheita colaborativa </h1> | ||
|
||
[Conheça o projeto](./docs/home.md) | ||
|
||
![](./docs/img/identidade/gitpages/gitpage_gradient_background.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,35 @@ | ||
<!-- docs/_sidebar.md --> | ||
- [**Home**](./docs/home.md) | ||
- [**Post Mortem**](./docs/postmortem.md) | ||
- [**Visão de Produto**](#) | ||
* [Termo de Abertura](./docs/project_charter.md) | ||
* [Estrutura Analítica do Projeto](./docs/wbs.md) | ||
* [Documento de Visão](./docs/vision_document.md) | ||
* [Documento de Arquitetura](./docs/architecture_document.md) | ||
* [Guia de Estilo e Identidade Visual](./docs/style_guide.md) | ||
* [Protótipo](./docs/prototype.md) | ||
* [Canvas](./docs/canvas.md) | ||
* [Roadmap do Produto](./docs/product_roadmap.md) | ||
|
||
- [**Viabilidade técnica**](#) | ||
* [Viabilidade das tecnologias](./docs/architecture_techonologies.md) | ||
* [Ferramentas de testes](./docs/tools_testing.md) | ||
|
||
- [**Gerenciamento**](#) | ||
* [Processo do projeto](./docs/project_methodology.md) | ||
* [Métricas e Indicadores](./docs/indicators_metrics.md) | ||
* [Sprint 0](./docs/sprints/sprint_0.md) | ||
* [Sprint 1](./docs/sprints/sprint_1.md) | ||
* [Sprint 2](./docs/sprints/sprint_2.md) | ||
* [Sprint 3](./docs/sprints/sprint_3.md) | ||
* [Sprint 4](./docs/sprints/sprint_4.md) | ||
* [Sprint 5](./docs/sprints/sprint_5.md) | ||
* [Sprint 6](./docs/sprints/sprint_6.md) | ||
* [Sprint 7](./docs/sprints/sprint_7.md) | ||
* [Sprint 8](./docs/sprints/sprint_8.md) | ||
* [Sprint 9](./docs/sprints/sprint_9.md) | ||
|
||
- [**Contribuição**](#) | ||
* [Como contribuir](./docs/contributing.md) | ||
* [Código de Conduta](./docs/code_of_conduct.md) | ||
* [Políticas de Contribuição](./docs/policies.md) |
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,65 @@ | ||
version: '3.7' | ||
|
||
services: | ||
|
||
postgres-staging: | ||
image: postgres | ||
env_file: ./.enviroments/.staging.deploy | ||
volumes: | ||
- ./staging-data/postgres/pgdata:/var/lib/postgresql/data | ||
ports: | ||
- "5432:5432" | ||
labels: | ||
- "com.centurylinklabs.watchtower.enable=false" | ||
|
||
django-staging: | ||
container_name: django-staging | ||
image: acaciaelis/acacia:django-staging | ||
env_file: ./.enviroments/.staging.deploy | ||
command: bash -c " | ||
python manage.py makemigrations && | ||
python manage.py migrate && | ||
python manage.py collectstatic --noinput && | ||
python manage.py runserver 0.0.0.0:8000" | ||
ports: | ||
- "8000:8000" | ||
depends_on: | ||
- postgres-staging | ||
labels: | ||
- "com.centurylinklabs.watchtower.enable=true" | ||
|
||
# Prod ----------------------------------------------------- | ||
|
||
postgres-production: | ||
image: postgres | ||
env_file: ./.enviroments/.production.deploy | ||
volumes: | ||
- ./production-data/postgres/pgdata:/var/lib/postgresql/data | ||
ports: | ||
- "5433:5432" | ||
labels: | ||
- "com.centurylinklabs.watchtower.enable=false" | ||
|
||
django-production: | ||
container_name: django-production | ||
image: acaciaelis/acacia:django-prod | ||
env_file: ./.enviroments/.production.deploy | ||
command: bash -c " | ||
python manage.py makemigrations && | ||
python manage.py migrate && | ||
python manage.py collectstatic --noinput && | ||
python manage.py runserver 0.0.0.0:8000" | ||
ports: | ||
- "8001:8000" | ||
depends_on: | ||
- postgres-production | ||
labels: | ||
- "com.centurylinklabs.watchtower.enable=true" | ||
|
||
watchtower: | ||
image: containrrr/watchtower | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
command: --interval 30 | ||
labels: | ||
- "com.centurylinklabs.watchtower.enable=false" |
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
Oops, something went wrong.