Skip to content

Commit

Permalink
use Nomad paths in compose test
Browse files Browse the repository at this point in the history
  • Loading branch information
ccakes committed Sep 27, 2020
1 parent 21ef3af commit 637fe13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ services:
patroni:
build: .
image: ccakes/nomad-pgsql-patroni:12.4-1.tsdb_gis
environment:
PGDATA: /alloc/data
ports:
- '5432:5432'
tmpfs:
- /alloc
volumes:
- './example-patroni.yml:/secrets/patroni.yml'
2 changes: 1 addition & 1 deletion example-patroni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ postgresql:
listen: 0.0.0.0:5432
connect_address: 0.0.0.0:5432
use_unix_socket: true
data_dir: /var/lib/postgresql/data
data_dir: /alloc/data
authentication:
replication:
username: repl
Expand Down

0 comments on commit 637fe13

Please sign in to comment.