Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker run -d \
- --name=postgres \
- --restart=always \
- -p 5432:5432 \
- -v /etc/localtime:/etc/localtime:ro \
- -e POSTGRES_USER=user \
- -e POSTGRES_PASSWORD=mysecretpassword \
- -v /storage/postgres:/var/lib/postgresql/data \
- postgres:latest
- docker run -d \
- --name=adminer \
- --link postgres:db \
- --restart=always \
- -p 8080:8080 \
- -v /etc/localtime:/etc/localtime:ro \
- adminer:latest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement