Shorten container names in docker-compose.yml
parent
52f73745b6
commit
88955ba707
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue