Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ services:
ports:
- '${DBM_PORT}:${DBM_PORT}'
postgres:
image: postgres:13-alpine
build:
context: ./services/postgres
command: ['postgres', '-c', 'config_file=/postgresql.conf']
restart: always
depends_on:
Expand All @@ -112,9 +113,6 @@ services:
- DD_LOGS_INJECTION=true
- DD_RUNTIME_METRICS_ENABLED=true
- DD_PROFILING_ENABLED=true
volumes:
- ./services/backend/db/restore:/docker-entrypoint-initdb.d
- ./services/backend/db/postgresql.conf:/postgresql.conf
labels:
com.datadoghq.tags.env: '${DD_ENV}'
com.datadoghq.tags.service: 'storedog-db'
Expand Down
3 changes: 3 additions & 0 deletions services/postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM postgres:13-alpine
COPY ./scripts/restore-2024-04-25-22-06-17.sql /docker-entrypoint-initdb.d/
COPY ./postgresql.conf /postgresql.conf
Loading