From 4087fe9eb78c4208866a188adb32867effe4c3dc Mon Sep 17 00:00:00 2001
From: Dwi Fahni Denni <dwi.fahni@bukalapak.com>
Date: Sun, 7 Jun 2020 13:59:09 +0700
Subject: [PATCH 1/3] Change version to 11.8-debian

---
 Dockerfile                  | 2 +-
 LICENSE                     | 2 +-
 README.md                   | 2 +-
 docker-compose.skeleton.yml | 2 +-
 docker-compose.yml          | 4 ++--
 tests/docker_tests.sh       | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index d53cccd..6c17095 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-ARG POSTGRES_VERSION=10.2
+ARG POSTGRES_VERSION=11.8
 FROM postgres:${POSTGRES_VERSION}
 
 # ================================================================================================
diff --git a/LICENSE b/LICENSE
index cbd89fc..66a907b 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
 MIT License
 
-Copyright (c) 2018 Docker Framework
+Copyright (c) 2020 Docker Framework
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index a31cd32..a26fcc4 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
 # PostgreSQL Container
 PostgreSQL Container of Docker Framework
 
-[![Build Status](https://travis-ci.org/dockerframework/postgresql.svg?branch=master)](https://travis-ci.org/dockerframework/postgresql) [![](https://images.microbadger.com/badges/image/dockerframework/postgresql:latest.svg)](https://microbadger.com/images/dockerframework/postgresql:latest "Layers") [![](https://images.microbadger.com/badges/version/dockerframework/postgresql:latest.svg)](https://microbadger.com/images/dockerframework/postgresql:latest "Version") [![GitHub issues](https://img.shields.io/github/issues/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/issues) [![GitHub forks](https://img.shields.io/github/forks/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/network) [![GitHub stars](https://img.shields.io/github/stars/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dockerframework/postgresql/master/LICENSE)
+[![Build Status](https://travis-ci.org/dockerframework/postgresql.svg?branch=master)](https://travis-ci.org/dockerframework/postgresql) [![](https://images.microbadger.com/badges/image/dockerframework/postgresql:11.8.svg)](https://microbadger.com/images/dockerframework/postgresql:11.8 "Layers") [![](https://images.microbadger.com/badges/version/dockerframework/postgresql:11.8.svg)](https://microbadger.com/images/dockerframework/postgresql:11.8 "Version") [![GitHub issues](https://img.shields.io/github/issues/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/issues) [![GitHub forks](https://img.shields.io/github/forks/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/network) [![GitHub stars](https://img.shields.io/github/stars/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dockerframework/postgresql/master/LICENSE)
diff --git a/docker-compose.skeleton.yml b/docker-compose.skeleton.yml
index b9c5438..45c8712 100644
--- a/docker-compose.skeleton.yml
+++ b/docker-compose.skeleton.yml
@@ -1,4 +1,4 @@
-version: '3.2'
+version: '3.6'
 
 services:
 
diff --git a/docker-compose.yml b/docker-compose.yml
index 8a85400..ea84b25 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,4 +1,4 @@
-version: '3.2'
+version: '3.6'
 
 services:
 
@@ -15,7 +15,7 @@ services:
       - /etc/localtime:/etc/localtime:ro
       - ./data/postgresql:/var/lib/postgresql              # volume for data
     environment:
-      - POSTGRES_VERSION=10.2
+      - POSTGRES_VERSION=11.8
       - POSTGRES_ROOT_HOST=postgresql                      # grant user hostmask (optional)
       - POSTGRES_DATABASE=laradock_postgresql              # create database (optional)
       - POSTGRES_USER=laradock                             # grant user name (optional)
diff --git a/tests/docker_tests.sh b/tests/docker_tests.sh
index 0698bbc..24d3857 100755
--- a/tests/docker_tests.sh
+++ b/tests/docker_tests.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 DOCKER_IMAGE="dockerframework/postgresql"
-DOCKER_TAG="latest"
+DOCKER_TAG="11.8"
 
 #### Halt script on error
 set -e

From 13f6633883b6a9ebd96402b8898c6ec09e512c4a Mon Sep 17 00:00:00 2001
From: dockerframework-engineer <zeroc0d3.team@gmail.com>
Date: Sun, 7 Jun 2020 14:18:14 +0700
Subject: [PATCH 2/3] Fixing travis CI/CD

---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 8dcb5f0..52d88b7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,7 @@ services:
 env:
   global:
     - COMMIT=${TRAVIS_COMMIT::8}
-    - REPO=dockerframework/postgresql
+    - REPO=dockerframework/postgresql:11.8
     - CGO_ENABLED=0
     - GOOS=linux
     - GOARCH=amd64

From 8b7d896b1a029923af872313dcfaccb7dfd2a372 Mon Sep 17 00:00:00 2001
From: zeroc0d3 <zeroc0d3.team@gmail.com>
Date: Sat, 9 Jan 2021 06:10:06 +0700
Subject: [PATCH 3/3] Update version to 11.10-debian

---
 .travis.yml           | 2 +-
 Dockerfile            | 2 +-
 README.md             | 2 +-
 docker-compose.yml    | 2 +-
 tests/docker_tests.sh | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 52d88b7..df96bd0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,7 +10,7 @@ services:
 env:
   global:
     - COMMIT=${TRAVIS_COMMIT::8}
-    - REPO=dockerframework/postgresql:11.8
+    - REPO=dockerframework/postgresql:11.10
     - CGO_ENABLED=0
     - GOOS=linux
     - GOARCH=amd64
diff --git a/Dockerfile b/Dockerfile
index 6c17095..92bb94a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-ARG POSTGRES_VERSION=11.8
+ARG POSTGRES_VERSION=11.10
 FROM postgres:${POSTGRES_VERSION}
 
 # ================================================================================================
diff --git a/README.md b/README.md
index a26fcc4..617bf24 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
 # PostgreSQL Container
 PostgreSQL Container of Docker Framework
 
-[![Build Status](https://travis-ci.org/dockerframework/postgresql.svg?branch=master)](https://travis-ci.org/dockerframework/postgresql) [![](https://images.microbadger.com/badges/image/dockerframework/postgresql:11.8.svg)](https://microbadger.com/images/dockerframework/postgresql:11.8 "Layers") [![](https://images.microbadger.com/badges/version/dockerframework/postgresql:11.8.svg)](https://microbadger.com/images/dockerframework/postgresql:11.8 "Version") [![GitHub issues](https://img.shields.io/github/issues/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/issues) [![GitHub forks](https://img.shields.io/github/forks/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/network) [![GitHub stars](https://img.shields.io/github/stars/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dockerframework/postgresql/master/LICENSE)
+[![Build Status](https://travis-ci.org/dockerframework/postgresql.svg?branch=master)](https://travis-ci.org/dockerframework/postgresql) [![](https://images.microbadger.com/badges/image/dockerframework/postgresql:11.10.svg)](https://microbadger.com/images/dockerframework/postgresql:11.10 "Layers") [![](https://images.microbadger.com/badges/version/dockerframework/postgresql:11.10.svg)](https://microbadger.com/images/dockerframework/postgresql:11.10 "Version") [![GitHub issues](https://img.shields.io/github/issues/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/issues) [![GitHub forks](https://img.shields.io/github/forks/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/network) [![GitHub stars](https://img.shields.io/github/stars/dockerframework/postgresql.svg)](https://github.com/dockerframework/postgresql/stargazers) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dockerframework/postgresql/master/LICENSE)
diff --git a/docker-compose.yml b/docker-compose.yml
index ea84b25..2fcf545 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -15,7 +15,7 @@ services:
       - /etc/localtime:/etc/localtime:ro
       - ./data/postgresql:/var/lib/postgresql              # volume for data
     environment:
-      - POSTGRES_VERSION=11.8
+      - POSTGRES_VERSION=11.10
       - POSTGRES_ROOT_HOST=postgresql                      # grant user hostmask (optional)
       - POSTGRES_DATABASE=laradock_postgresql              # create database (optional)
       - POSTGRES_USER=laradock                             # grant user name (optional)
diff --git a/tests/docker_tests.sh b/tests/docker_tests.sh
index 24d3857..1251e95 100755
--- a/tests/docker_tests.sh
+++ b/tests/docker_tests.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 DOCKER_IMAGE="dockerframework/postgresql"
-DOCKER_TAG="11.8"
+DOCKER_TAG="11.10"
 
 #### Halt script on error
 set -e
