File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -21,27 +21,5 @@ services:
2121 ports :
2222 - ${POSTGRES_PORT}:5432
2323
24- app :
25- image : node:20-bullseye
26- restart : unless-stopped
27-
28- volumes :
29- - ..:/workspaces:cached
30- - ../scripts:/scripts:cached
31-
32- # Overrides default command so things don't shut down after the process ends.
33- command : sleep infinity
34-
35- # Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
36- network_mode : service:db
37- # Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
38- # (Adding the "ports" property to this file will not forward from a Codespace.)
39-
40- # depends_on:
41- # - db
42- # environment:
43- # - POSTGRES_HOST=db # connect to the Postgres container with Docker Networking
44- # - POSTGRES_PORT=5432 # use internal port of Postgres container
45-
4624volumes :
4725 postgres-data :
You can’t perform that action at this time.
0 commit comments