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

refactor: move docker compose to example #2888

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/turbo-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: CI

on:
push:
branches: ["main"]
branches: ['main']
pull_request:
types: [opened, synchronize]
merge_group:
types: [ checks_requested ]
types: [checks_requested]

jobs:
build:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
SQLX_OFFLINE: true

- name: Start docker compose
run: docker compose up -d
run: docker compose -f ./docker-compose.example.yml up -d

- name: Test
run: pnpm test
Expand Down
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,9 @@ apps/frontend/src/generated
target
generated
.env
docker-compose.yml

# app testing dir
app-playground-data/*

# soley because i need the PORT to be 3002 due to WSL stuff
.env
apps/frontend/.env

.astro
9 changes: 4 additions & 5 deletions docker-compose.yml → docker-compose.example.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
version: '3'
services:
postgres_db:
image: postgres:alpine
volumes:
- db-data:/var/lib/postgresql/data
ports:
- "5432:5432"
- '5432:5432'
environment:
POSTGRES_DB: postgres
POSTGRES_USER: labrinth
Expand All @@ -15,7 +14,7 @@ services:
image: getmeili/meilisearch:v1.5.0
restart: on-failure
ports:
- "7700:7700"
- '7700:7700'
volumes:
- meilisearch-data:/data.ms
environment:
Expand All @@ -31,8 +30,8 @@ services:
clickhouse:
image: clickhouse/clickhouse-server
ports:
- "8123:8123"
- '8123:8123'
volumes:
meilisearch-data:
db-data:
redis-data:
redis-data:
Loading