Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
felipementel committed Apr 12, 2024
1 parent 323b371 commit 41b29dd
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore
Expand Down
46 changes: 0 additions & 46 deletions Docker-Compose.yaml

This file was deleted.

4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Avanade-SubTCSE-Projeto

Projeto criado durante o treinamento full stack

Versão atualizada para o dotnet 6
Projeto criado durante o treinamento full stack da Avanade Brasil
35 changes: 20 additions & 15 deletions infrastructure/dockerfile/docker-infra.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# docker-compose -f mongodb.yml up -d
# docker-compose -f mongodb.yml down --remove-orphans
# docker-compose -f docker-infra.yml up -d
# docker-compose -f docker-infra.yml down --remove-orphans

version: '3.1'
version: '3.8'

services:

mongodb:
image: mongo:5.0.6
image: mongo:7.0.7
container_name: mongodb-curso
restart: always
ports:
Expand All @@ -15,23 +14,29 @@ services:
- /data/db
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: abc1234
MONGO_INITDB_ROOT_PASSWORD: Abc12345678
networks:
- rede-net

mongo-express:
image: mongo-express:1.0.0-alpha.4
container_name: mongo-express-felipe
image: mongo-express:1.0.2-20
container_name: mongo-express-curso
restart: always
depends_on:
- mongodb
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_ENABLE_ADMIN: "true"
# ME_CONFIG_BASICAUTH_USERNAME: mongoexpress-user
# ME_CONFIG_BASICAUTH_PASSWORD: mongoexpress-pass
ME_CONFIG_MONGODB_ENABLE_ADMIN: 'true'
ME_CONFIG_BASICAUTH_USERNAME: mongoexpress-user
ME_CONFIG_BASICAUTH_PASSWORD: mongoexpress-pass
ME_CONFIG_MONGODB_PORT: 27017
ME_CONFIG_OPTIONS_EDITORTHEME: "ambiance"
ME_CONFIG_SITE_BASEURL: "/"
ME_CONFIG_OPTIONS_EDITORTHEME: 'ambiance'
ME_CONFIG_SITE_BASEURL: '/'
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: abc1234
ME_CONFIG_MONGODB_URL: mongodb://root:abc1234@mongodb:27017/
ME_CONFIG_MONGODB_ADMINPASSWORD: Abc12345678
ME_CONFIG_MONGODB_URL: mongodb://root:Abc12345678@mongodb-curso:27017/

networks:
rede-net:
driver: bridge

0 comments on commit 41b29dd

Please sign in to comment.