Skip to content

Commit 5b6ba73

Browse files
committed
update
1 parent 7af55da commit 5b6ba73

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

compose.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ services:
33
build:
44
context: .
55
container_name: web_live_server_dev
6-
stdin_open: true # Keep stdin open
7-
tty: true # Allocate a pseudo-TTY
6+
stdin_open: true
7+
tty: true
88
ports:
99
- "8081:8080"
1010
volumes:
@@ -23,7 +23,7 @@ services:
2323
timeout: 10s
2424
retries: 3
2525
start_period: 10s
26-
init: true # Use an init system like tini
26+
init: true
2727
restart: unless-stopped
2828
networks:
2929
- dev-network
@@ -40,7 +40,7 @@ services:
4040
- FLASK_ENV=development
4141
- PORT=8080
4242
ports:
43-
- "8082:8080" # Make sure this binding is correct
43+
- "8082:8080"
4444
volumes:
4545
- .:/app:rw
4646
command: ["gunicorn", "--bind", "0.0.0.0:8080", "--reload", "app_flask:app"]
@@ -58,15 +58,15 @@ services:
5858
build:
5959
context: .
6060
container_name: web_fastapi_dev
61-
stdin_open: true # Keep stdin open
62-
tty: true # Allocate a pseudo-TTY
61+
stdin_open: true
62+
tty: true
6363
env_file:
64-
- ./.env # Load variables from a local .env file
64+
- ./.env
6565
environment:
6666
- FLASK_ENV=development
6767
- PORT=8080
6868
ports:
69-
- "8083:8080" # Map host 8083 to container 8080
69+
- "8083:8080"
7070
volumes:
7171
- .:/app:rw
7272
command: ["uvicorn", "app_fastapi:app", "--host", "0.0.0.0", "--port", "8080", "--reload"]
@@ -76,7 +76,7 @@ services:
7676
timeout: 10s
7777
retries: 3
7878
start_period: 10s
79-
init: true # Use an init system like tini
79+
init: true
8080
restart: unless-stopped
8181
networks:
8282
- dev-network
@@ -85,13 +85,15 @@ services:
8585
build:
8686
context: .
8787
container_name: web_node_dev
88+
stdin_open: true
89+
tty: true
8890
env_file:
89-
- ./.env # Load variables from a local .env file
91+
- ./.env
9092
environment:
9193
- NODE_ENV=development
9294
- PORT=8080
9395
ports:
94-
- "8084:8080" # Map host 8084 to container 8080
96+
- "8084:8080"
9597
volumes:
9698
- .:/app:rw
9799
- /app/node_modules
@@ -102,7 +104,7 @@ services:
102104
timeout: 10s
103105
retries: 3
104106
start_period: 10s
105-
init: true # Use an init system like tini
107+
init: true
106108
restart: unless-stopped
107109
networks:
108110
- dev-network
@@ -111,6 +113,8 @@ services:
111113
# nginx:
112114
# image: nginx:alpine
113115
# container_name: web_proxy
116+
# stdin_open: true
117+
# tty: true
114118
# ports:
115119
# - "8080:80"
116120
# volumes:

0 commit comments

Comments
 (0)