postgresTAG
This commit is contained in:
parent
771d29502d
commit
91623ff258
@ -20,7 +20,7 @@ services:
|
|||||||
- pgdata:/var/lib/postgresql/data/pgdata
|
- pgdata:/var/lib/postgresql/data/pgdata
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:latest
|
image: postgres:${POSTGRES_TAG}
|
||||||
environment:
|
environment:
|
||||||
PGDATA: /var/lib/postgresql/data/pgdata
|
PGDATA: /var/lib/postgresql/data/pgdata
|
||||||
POSTGRES_DB: ${postgres_db}
|
POSTGRES_DB: ${postgres_db}
|
||||||
|
@ -30,6 +30,28 @@ catalog:
|
|||||||
required: true
|
required: true
|
||||||
default: "postgres_password"
|
default: "postgres_password"
|
||||||
type: "string"
|
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"
|
- variable: "VOLUME_DRIVER"
|
||||||
description: "The VOLUME driver to associate with this server"
|
description: "The VOLUME driver to associate with this server"
|
||||||
label: "VOLUME Driver"
|
label: "VOLUME Driver"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user