Skip to content

Commit a385091

Browse files
committed
chore: Remove app service configuration from docker-compose.yml
- Deleted the app service definition, including image, volumes, command, and network settings, to streamline the Docker setup.
1 parent f73d798 commit a385091

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

docker-compose.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff 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-
4624
volumes:
4725
postgres-data:

0 commit comments

Comments
 (0)