| docker_postgresql_replicas: 1 |
| postgresql_bind_host: postgresql-db |
| postgresql_bind_port: 5432 |
| postgresql_exposed_port: 5432 |
| postgresql_admin_user: postgres |
| - ${_param:docker_image_postgresql} |
| POSTGRES_USER: ${_param:postgresql_admin_user} |
| POSTGRES_PASSWORD: ${_param:postgresql_admin_user_password} |
| PGDATA: /var/lib/postgresql/data/pgdata |
| image: ${_param:docker_image_postgresql} |
| replicas: ${_param:docker_postgresql_replicas} |
| - /srv/volumes/postgresql/data:/var/lib/postgresql/data |
| - /var/run/postgresql:/var/run/postgresql |
| - ${_param:postgresql_exposed_port}:${_param:postgresql_bind_port} |