Difference between revisions of "Docker-compose.yml PostgreSQL"

From wikieduonline
Jump to navigation Jump to search
(Created page with " https://hub.docker.com/_/postgres?tab=description <pre> # Use postgres/example user/password credentials version: '3.1' services: db: image: postgres restart: alw...")
 
Line 19: Line 19:
 
       - 8080:8080
 
       - 8080:8080
 
</pre>
 
</pre>
 +
 +
 +
== See also ==
 +
* {{docker-compose}}
 +
* {{PostgreSQL}}

Revision as of 11:59, 2 February 2020

https://hub.docker.com/_/postgres?tab=description

# Use postgres/example user/password credentials
version: '3.1'

services:

  db:
    image: postgres
    restart: always
    environment:
      POSTGRES_PASSWORD: example

  adminer:
    image: adminer
    restart: always
    ports:
      - 8080:8080


See also

Advertising: