Shorten container names in docker-compose.yml

master
Dessa Simpson 2020-11-28 22:05:54 -07:00
parent 52f73745b6
commit 88955ba707
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
version: '3.8' version: '3.8'
services: services:
app: app:
container_name: learn-request-queue container_name: lrq
build: . build: .
depends_on: depends_on:
- db - db
@ -11,7 +11,7 @@ services:
- "80:3000" - "80:3000"
env_file: .env env_file: .env
db: db:
container_name: learn-request-queue-db container_name: lrqdb
image: postgres image: postgres
ports: ports:
- "5432:5432" - "5432:5432"