misc: rename pgdb to postgres

This commit is contained in:
Andrey Antukh 2019-07-04 12:38:27 +02:00
parent 5ecd86ba02
commit 3c31144a58

View file

@ -3,7 +3,7 @@ version: "3"
volumes: volumes:
backend_m2: backend_m2:
backend_data: backend_data:
pgdb_data: postgres_data:
networks: networks:
default: default:
@ -13,7 +13,7 @@ networks:
- subnet: 172.177.10.0/24 - subnet: 172.177.10.0/24
services: services:
pgdb: postgres:
image: postgres:11 image: postgres:11
restart: always restart: always
ports: ports:
@ -24,7 +24,7 @@ services:
- POSTGRES_USER=uxbox - POSTGRES_USER=uxbox
- POSTGRES_PASSWORD=uxbox_postgres_password - POSTGRES_PASSWORD=uxbox_postgres_password
volumes: volumes:
- pgdb_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
# - /etc/localtime:/etc/localtime:ro # - /etc/localtime:/etc/localtime:ro
# - /etc/timezone:/etc/timezone:ro # - /etc/timezone:/etc/timezone:ro
@ -32,7 +32,7 @@ services:
image: uxbox-backend-production:latest image: uxbox-backend-production:latest
restart: always restart: always
depends_on: depends_on:
- pgdb - postgres
ports: ports:
- 6060 - 6060
volumes: volumes: