Difference between revisions of "Docker-compose.yml PostgreSQL"
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
== Activities == | == Activities == | ||
* Add a docker-compose for PostgreSQL with a [[volume]] or [[Bind mounts (Docker)|bind mounts]] | * Add a docker-compose for PostgreSQL with a [[volume]] or [[Bind mounts (Docker)|bind mounts]] | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[docker compose up]]</code> | ||
== See also == | == See also == |
Revision as of 17:24, 15 July 2024
https://hub.docker.com/_/postgres?tab=description
Contents
Example
# Use postgres/example user/password credentials version: '3.1' services: db: image: postgres restart: always environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: example adminer: image: adminer restart: always ports: - 8080:8080
Activities
- Add a docker-compose for PostgreSQL with a volume or bind mounts
Related
See also
docker-compose
,docker-compose.yml
: [services
|volumes
|networks
|up
|down
|restart
|logs
|create
|changelog
|version
|secrets
|config
|-v
|-h
|exec], docker-compose pull
,Environment:
, Docker-compose.yml examples,.env
, release notes, expose:, docker-compose --env-file,services.deploy.resources
- PostgreSQL:
pg_dump, pg_restore
,pgAdmin, pg_config, psql, pg_ctl, pg_isready, initdb
, Role, Schema, DBeaver, Navicat, DataGrip, OmniDB,Adminer
, docker-compose.xml PostgreSQL, PostgreSQL version, PostgreSQL logs,postgresql.conf
,pg_hba.conf, $HOME/.pg_service.conf
, Create database (PostgreSQL), Create user,createdb
,GRANT
,pg_stat
, PostgreSQL VACUUM, EXPLAIN,pg stat activity
, Autovacuum, ALTER DATABASE, PostgreSQL statistics collector, Shared buffers, EXPLAIN (PostgreSQL),EXPLAIN ANALYZE
, Bitmap scan,EXPLAIN VERBOSE
,EXPLAIN VERBOSE (PostgresSQL)
,WAL
,ALTER USER
,CREATE ROLE, CREATE USER
,\du
,show users
,\l
, The Statistics Collector, pganalyze,cron.schedule
, Master,pg_tables
, PostgreSQL replication,CREATE, SET
, TOAST, PgBouncer, Restore DB, Index, meta-commands, Table, foreign table, Schema, Sequence, Views, materialized view, Table Partitioning, monitoring, PostgreSQL System Administration Functions, PostgreSQL extension, privileges, logging, PGTune, PostgreSQL parameter tunning, PostgreSQL modules, pgbench, PostgreSQL users, catalogs
Advertising: