Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start project #20

Merged
merged 3 commits into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Check Formatting
run: |
Expand Down
Binary file modified README.md
Binary file not shown.
70 changes: 70 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
version: "3"
services:
postgresdb:
image: postgres
container_name: postgresdb
restart: always
ports:
- ${POSTGRES_PORT}:5432
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- pgdata:/var/lib/postgresql/data
networks:
- postgresdb-network
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin4
restart: always
ports:
- ${PGADMIN_PORT}:80
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD}
volumes:
- pgadmin-data:/var/lib/pgadmin
networks:
- postgresdb-network
redis:
image: redis:latest
container_name: redis
command: redis-server --requirepass ${REDIS_PASSWORD}
restart: always
volumes:
- redis:/var/lib/redis
- redis-config:/usr/local/etc/redis/redis.conf
ports:
- ${REDIS_PORT}:6379
networks:
- redis-network

redis-commander:
image: rediscommander/redis-commander:latest
container_name: redis-commander
restart: always
depends_on:
- redis
environment:
REDIS_HOSTS: redis
REDIS_HOST: redis
REEDIS_PORT: redis:6379
REDIS_PASSWORD: ${REDIS_PASSWORD}
HTTP_USER: ${REDIS_HTTP_USER}
HTTP_PASSWORD: ${REDIS_HTTP_PASSWORD}
ports:
- ${REDISCOMMANDER_PORT}:8081
networks:
- redis-network

volumes:
pgdata:
pgadmin-data:
redis:
redis-config:

networks:
postgresdb-network:
driver: bridge
redis-network:
driver: bridge