Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, maybe the document should be made clearer about how to use #1021

Open
seepine opened this issue Aug 25, 2024 · 0 comments
Open

Hi, maybe the document should be made clearer about how to use #1021

seepine opened this issue Aug 25, 2024 · 0 comments

Comments

@seepine
Copy link

seepine commented Aug 25, 2024

Expect

Like postgres of hub.docker.com

docker run -d \
	--name some-postgres \
	-e POSTGRES_PASSWORD=mysecretpassword \
	-e PGDATA=/var/lib/postgresql/data/pgdata \
	-v /custom/mount:/var/lib/postgresql/data \
	postgres:16

Or docker swarm yml

version: '3.9'
services:
  db:
    image: postgres:16
    volumes:
      - /custom/mount:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: example
    deploy:
      mode: replicated
      replicated: 5

Now docs

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant