Skip to content

Instantly share code, notes, and snippets.

@MySecondLanguage
Created November 17, 2019 18:10
Show Gist options
  • Select an option

  • Save MySecondLanguage/fc17f5bc561e2e2837f1e999ae707dc8 to your computer and use it in GitHub Desktop.

Select an option

Save MySecondLanguage/fc17f5bc561e2e2837f1e999ae707dc8 to your computer and use it in GitHub Desktop.
version: '2.0'
services:
postgres:
image: postgres
container_name: mamun-db
working_dir: /usr/src/app
volumes:
- ./data:/usr/src/app
environment:
- POSTGRES_USER=mamun
- POSTGRES_PASSWORD=supersecret
- POSTGRES_DB=mamun_db
- PGDATA=pg_data
- USER=Docker
ports:
- 5432:5432
# elasticsearch:
# image: elasticsearch:5.4-alpine
# container_name: mamun-elasticsearch
# ports:
# - 9200:9200
# - 9300:9300
# pg_admin
adminer:
image: adminer
restart: always
ports:
- 8080:8080_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment