You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
822 B
YAML
37 lines
822 B
YAML
---
|
|
|
|
connect_postgres_id: "{{ service_name }}-postgres-connect"
|
|
|
|
connect_docker: {
|
|
networks: [
|
|
{
|
|
name: back-tier,
|
|
external: true,
|
|
}
|
|
],
|
|
volumes: [
|
|
{
|
|
name: "{{ connect_postgres_id }}-data"
|
|
}
|
|
],
|
|
services: [
|
|
{
|
|
name: "{{ connect_postgres_id }}",
|
|
image_name: "postgres",
|
|
image_version: "{{ connect_postgres_version }}",
|
|
environment: [
|
|
'POSTGRES_DB: "{{ connect_postgres_database }}"',
|
|
'POSTGRES_USER: "{{ connect_postgres_admin_username }}"',
|
|
'POSTGRES_PASSWORD: "{{ connect_postgres_admin_password }}"',
|
|
],
|
|
volumes: [
|
|
'"{{ connect_postgres_id }}-data:/var/lib/postgresql/data"',
|
|
],
|
|
networks: [
|
|
'"back-tier"',
|
|
],
|
|
ports: "{{ connect_postgres_ports | default([]) }}",
|
|
},
|
|
],
|
|
}
|