saleor-apps-redis_apl/docker-compose.db.yml
Lukasz Ostrowski 7240f6efa7 Add docker, prisma and worker POC
Add docker-compose with Postgres

Install Prisma and generate empty schema

Install Prisma client

Add app config model and migration

Add repository for Algolia Configuration

Migrate metadata to postgres

Replace webhooks metadata with PRisma

Add worker and skeleton code

Implement worker job and removed from the frontend

Attempt to display jobs list

Worker utils

Run worker in the same thread on dev

Run worker in the same thread on dev

Build scripts

fix dev mode

Dockerfiles

prod dockerfiles

docker wip

docker wip

wip working docker

wip working docker

wip - working without prisma migrate
2023-06-07 11:07:37 +02:00

23 lines
No EOL
625 B
YAML

# This compose contains only Database required for local development.
# App can be run locally without the container
#
# TODO Include app and worker services for local development with fullstack setup (and prod setup)
version: '3'
services:
postgres:
container_name: search_app_postgres
image: postgres # Todo maybe some alpine image?
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
ports:
- "5432:5432"
restart: unless-stopped
volumes:
postgres: