mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Change PG volume to Docker Volume
This commit is contained in:
parent
7bcb1aa426
commit
d2f1349b95
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
|
volumes:
|
||||||
|
pg-data:
|
||||||
services:
|
services:
|
||||||
shyftgeth:
|
shyftgeth:
|
||||||
build:
|
build:
|
||||||
|
|
@ -33,7 +34,7 @@ services:
|
||||||
context: $PWD
|
context: $PWD
|
||||||
dockerfile: docker/pg/Dockerfile.pg
|
dockerfile: docker/pg/Dockerfile.pg
|
||||||
volumes:
|
volumes:
|
||||||
- ./pg-data:/var/lib/postgresql/data
|
- pg-data:/var/lib/postgresql/data
|
||||||
ports:
|
ports:
|
||||||
- "8001:5432"
|
- "8001:5432"
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue