Skip to content

Commit

Permalink
merge migrations testing docker definitions with existing docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphall committed Jul 25, 2024
1 parent c13739a commit 2af13e5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
12 changes: 0 additions & 12 deletions docker-compose.yaml

This file was deleted.

14 changes: 14 additions & 0 deletions local-root/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,20 @@ services:
#- PGRST_SERVER_PROXY_URI=http://database:5432
- PGRST_SERVER_PORT=3000
- PGRST_SERVER_HOST=

# Schema-only Test DB instance for applying migrations
migrations-test-db:
image: postgis-with-audit
profiles: ['migrations-test']
build:
context: .
dockerfile: ./postgis-audit.Dockerfile
ports:
- "${MACROSTRAT_DB_PORT:-5432}:5432"
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=macrostrat
volumes:
db_cluster:
mysql_cluster:
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgis/postgis:15-3.4
FROM imresamu/postgis:15-3.4
RUN apt-get update && apt-get install -y --no-install-recommends \
postgresql-$PG_MAJOR-pgaudit

Expand Down

0 comments on commit 2af13e5

Please sign in to comment.