sha256:7e33c8d5a8b23b292c59ecc9b907fbd1258f8c223800662b1896d57a79487a9d
Last pushed
10 days by qusssa
Type
Compose
Manifest digest
sha256:7e33c8d5a8b23b292c59ecc9b907fbd1258f8c223800662b1896d57a79487a9d
services:
backend:
image: qusssa/task_backend:1.0
build: .
ports:
- "8000:8000"
environment:
- SECRET_KEY=${SECRET_KEY}
- ALGORITHM=${ALGORITHM}
- ACCESS_TOKEN_EXPIRE_MINUTE=${ACCESS_TOKEN_EXPIRE_MINUTE}
- REFRESH_TOKEN_EXPIRE_DAYS=${REFRESH_TOKEN_EXPIRE_DAYS}
depends_on:
- postgres
- redis
redis:
image: redis:alpine
container_name: my-redis
restart: always
ports:
- "6379:6379"
command: redis-server --requirepass "mypassword"
postgres:
image: postgres:16-alpine
container_name: task_bd
restart: always
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
ports:
- "5433:5432"
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:docker compose -f oci://qusssa/task:0.1 upUse the above command to pull and run the Compose file. Learn more.
The PostgreSQL object-relational database system provides reliability and data integrity.
Pulls
1B+
Stars
15035
Last Updated
about 23 hours
Redis is the world’s fastest data platform for caching, vector search, and NoSQL databases.
Pulls
1B+
Stars
13624
Last Updated
1 day