Skip to content

Commit 8f6d559

Browse files
authored
Merge pull request #61 from robswc/docker-additions
add additional docker-compose files for different OS. Downgrade Flas…
2 parents 2399349 + 7d93d5d commit 8f6d559

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

docker-compose.mac.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# For Macs, there is a default program that uses port 5000, so we need to change the port to 5001.
2+
3+
version: '3'
4+
5+
services:
6+
app:
7+
build:
8+
context: .
9+
dockerfile: Dockerfile
10+
volumes:
11+
- ./src/components:/app/components
12+
- ./src/settings.py:/app/settings.py
13+
ports:
14+
- "5001:5000"
15+
network_mode: 'host'
16+
entrypoint: python3 tvwb.py

docker-compose.windows.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# For windows, we need to use network_mode: 'bridge' instead of network_mode: 'host'
2+
3+
version: '3'
4+
5+
services:
6+
app:
7+
build:
8+
context: .
9+
dockerfile: Dockerfile
10+
volumes:
11+
- ./src/components:/app/components
12+
- ./src/settings.py:/app/settings.py
13+
ports:
14+
- "5000:5000"
15+
network_mode: 'bridge'
16+
entrypoint: python3 tvwb.py

0 commit comments

Comments
 (0)