Sign inSign up

manuelromero90/postgres_compose

By manuelromero90

•Updated over 2 years ago

Image
0

35

manuelromero90/postgres_compose repository overview

Esta imagen contiene una imagen de postgres para drupal

Se debe asociar a un contenedor de drupal y asociar a esta base

Se adjunta el código para compose

Se debe crear un archivo .env que contenga las siguientes variables

POSTGRES_DB=xxxxx POSTGRES_USER=xxxxxx
POSTGRES_PASSWORD=xxxxx

////////

version: '3'

services: postgres: image: postgres:16 container_name: postgres_container env_file: .env volumes: - sql_data_postgres:/var/lib/postgresql/data
drupal: image: drupal:10-apache container_name: drupal_container ports: - "8080:80" volumes: - drupal-data:/var/www/html depends_on: - postgres
volumes: sql_data_postgres: drupal-data:

Tag summary

Content type

Image

Digest

sha256:d1729fc63…

Size

144.6 MB

Last updated

over 2 years ago

docker pull manuelromero90/postgres_compose:despliegue_dockercompose