Skip to content

Commit

Permalink
project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
brunodsousa committed Feb 10, 2024
1 parent 7021625 commit 17a9fff
Show file tree
Hide file tree
Showing 5 changed files with 1,373 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
.env
26 changes: 26 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: "3.7"

services:
postgres:
image: bitnami/postgresql:latest
ports:
- "5432:5432"
environment:
- POSTGRES_USER=docker
- POSTGRES_PASSWORD=docker
- POSTGRES_DB=polls
volumes:
- polls_pg_data:/bitnami/postgresql

redis:
image: bitnami/redis:latest
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- "6379:6379"
volumes:
- "polls_redis_data:/bitnami/redis/data"

volumes:
polls_pg_data:
polls_redis_data:
Loading

0 comments on commit 17a9fff

Please sign in to comment.