Skip to content

Commit d6b7861

Browse files
committed
image download works with docker-compose up
1 parent 8151582 commit d6b7861

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ For dev use:
3838

3939
### Docker compose info
4040
1. set variables in `.env`
41-
2. run `docker-compose.yml up` or `docker-compose.yml up -d` for background run
41+
2. run `docker-compose up` or `docker-compose up -d` for background run
4242
3. `docker ps --format "{{.ID}}: {{.Image}} - {{.Ports}}"` to see docker contaienr info, docker-compose does not show this info in docker desktop when ran from docker compoase for some reason...

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ services:
88
ports:
99
- "5000:5000" # Map container port 5000 to local port 5000, allowing access to the Flask app from the browser at localhost:5000
1010
restart: always # Ensure the container always restarts if it stops or crashes
11+
logging:
12+
driver: "json-file"
13+
options:
14+
max-size: "10m"
15+
max-file: "3"
16+
labels: "debug"

0 commit comments

Comments
 (0)