postgresTAG

This commit is contained in:
Josh Cox 2017-08-18 11:05:54 -05:00
parent 771d29502d
commit 91623ff258
2 changed files with 23 additions and 1 deletions

View File

@ -20,7 +20,7 @@ services:
- pgdata:/var/lib/postgresql/data/pgdata
postgres:
image: postgres:latest
image: postgres:${POSTGRES_TAG}
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_DB: ${postgres_db}

View File

@ -30,6 +30,28 @@ catalog:
required: true
default: "postgres_password"
type: "string"
- variable: "POSTGRES_TAG"
description: "The postgres tag to associate with this server"
label: "Postgres tag"
required: true
default: "9.6-alpine"
type: enum
options: # List of options if using type of `enum`
- latest
- 10-alpine
- 10
- 9-alpine
- 9
- 9.6-alpine
- 9.6
- 9.5-alpine
- 9.5
- 9.4-alpine
- 9.4
- 9.3-alpine
- 9.3
- 9.2-alpine
- 9.2
- variable: "VOLUME_DRIVER"
description: "The VOLUME driver to associate with this server"
label: "VOLUME Driver"