Skip to content

Commit

Permalink
After testing on runner, using docker exec directly for brevity
Browse files Browse the repository at this point in the history
  • Loading branch information
dividor committed Jul 9, 2024
1 parent ad2b27d commit e18d145
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,38 @@
#version: "3.4"

services:

datadb:
platform: linux/amd64
image: postgis/postgis:12-3.4
platform: linux/amd64
container_name: recipes-ai-datadb
environment:
POSTGRES_DB: ${POSTGRES_DATA_DB}
POSTGRES_USER: ${POSTGRES_DATA_USER}
POSTGRES_PASSWORD: ${POSTGRES_DATA_PASSWORD}
POSTGRES_PORT: ${POSTGRES_DATA_PORT}
restart: always
ports:
- 5433:5432
volumes:
- ./data/datadb:/var/lib/postgresql/data
env_file:
- .env
ports:
- 5433:5432

recipedb:
platform: linux/amd64
image: ankane/pgvector:latest
platform: linux/amd64
container_name: recipes-ai-recipesdb
environment:
POSTGRES_DB: ${POSTGRES_RECIPE_DB}
POSTGRES_USER: ${POSTGRES_RECIPE_USER}
POSTGRES_PASSWORD: ${POSTGRES_RECIPE_PASSWORD}
POSTGRES_PORT: ${POSTGRES_RECIPE_PORT}
restart: always
ports:
- 5435:5432
volumes:
- ./db/recipedb:/docker-entrypoint-initdb.d
- ./data/recipesdb:/var/lib/postgresql/data
env_file:
- .env

# recipes-server:
# platform: linux/amd64
# container_name: recipes-ai-recipes-server
Expand Down

0 comments on commit e18d145

Please sign in to comment.