Skip to content

Commit

Permalink
Test server side database build 💿
Browse files Browse the repository at this point in the history
  • Loading branch information
Kezzsim committed Nov 28, 2023
1 parent bde6804 commit a2f6f67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: sleep 10

- name: Create Tiled catalog
run: docker exec -it tiled tiled catalog init postgresql+asyncpg://postgres:secret@localhost:5432
run: docker exec -it tiled tiled catalog init postgresql+asyncpg://postgres:secret@postgres:5432

- name: Stop containers
run: docker-compose down
Expand Down
7 changes: 6 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
version: '3'
services:
postgres:
container_name: postgres
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: secret
ports:
- "5432:5432"
tiled:
image: ghcr.io/bluesky/tiled:latest
container_name: tiled
image: ghcr.io/bluesky/tiled:main
environment:
TILED_SINGLE_USER_API_KEY: secret
TILED_TEST_POSTGRESQL_URI: postgresql+asyncpg://postgres:secret@postgres:5432
depends_on:
- postgres
ports:
Expand Down

0 comments on commit a2f6f67

Please sign in to comment.