feat: add docker-compose.yaml to set up postgres
This commit is contained in:
17
protocol-testing/docker-compose.yaml
Normal file
17
protocol-testing/docker-compose.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: "3.1"
|
||||
services:
|
||||
db:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: postgres.Dockerfile
|
||||
restart: "always"
|
||||
environment:
|
||||
POSTGRESQL_PASSWORD: mypassword
|
||||
POSTGRESQL_DATABASE: tycho_indexer_0
|
||||
POSTGRESQL_USERNAME: postgres
|
||||
POSTGRESQL_SHARED_PRELOAD_LIBRARIES: pg_cron
|
||||
ports:
|
||||
- "5431:5432"
|
||||
shm_size: "1gb"
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in New Issue
Block a user