File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 4
4
"name" : " PostgreSQL and PG Admin" ,
5
5
"waitFor" : " onCreateCommand" ,
6
6
"dockerComposeFile" : " docker-compose.yml" ,
7
- "service" : " postgresql " ,
7
+ "service" : " db " ,
8
8
"workspaceFolder" : " /workspaces/${localWorkspaceFolderBasename}" ,
9
9
// Features to add to the dev container. More info: https://containers.dev/features.
10
10
// "features": {},
33
33
"forwardPorts" : [
34
34
5432 ,
35
35
8080
36
- ]
36
+ ],
37
37
// Use 'postCreateCommand' to run commands after the container is created.
38
38
// "postCreateCommand": "yarn install",
39
39
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
40
- // "remoteUser": "root "
40
+ // "remoteUser": "vscode "
41
41
}
Original file line number Diff line number Diff line change 1
- version : " 3.9"
1
+ version : ' 3.8'
2
+
2
3
services :
3
- postgresql :
4
+ db :
4
5
image : postgres:latest
5
6
restart : unless-stopped
6
7
volumes :
@@ -21,8 +22,8 @@ services:
21
22
PGADMIN_DEFAULT_EMAIL :
[email protected]
22
23
PGADMIN_DEFAULT_PASSWORD : StrongPassword
23
24
PGADMIN_LISTEN_PORT : 8080
24
- PGADMIN_CONFIG_PROXY_X_HOST_COUNT : 1
25
- PGADMIN_CONFIG_PROXY_X_PREFIX_COUNT : 1
25
+ PGADMIN_CONFIG_PROXY_X_HOST_COUNT : 1
26
+ PGADMIN_CONFIG_PROXY_X_PREFIX_COUNT : 1
26
27
ports :
27
28
- " 8080:8080"
28
29
You can’t perform that action at this time.
0 commit comments