Skip to content

Commit aeb7d9a

Browse files
committed
Added container names to docker-compose to use a docker debugger plugin with vscode, ignoring .history to use a local history plugin
1 parent b6d979f commit aeb7d9a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ __pycache__/
33
.DS_Store
44
.envrc
55
.vscode
6-
data/postgres
6+
data/postgres
7+
.history

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: '3'
22

33
services:
44
db:
5+
container_name: corgi-pg
56
image: postgres
67
ports:
78
- "5432:5432"
@@ -13,6 +14,7 @@ services:
1314
- POSTGRES_USER=dbUsername
1415
- POSTGRES_DB=dbName
1516
web:
17+
container_name: corgi-web
1618
build: .
1719
command: ./entrypoint.sh
1820
volumes:

0 commit comments

Comments
 (0)