Skip to content

Commit

Permalink
Use latest docker compose version and fix version warning
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashbrnrd committed May 27, 2024
1 parent b026d67 commit 1b927ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHELL := /bin/bash
DOCKER := $(shell type -p docker)
DC := $(shell type -p docker-compose)
DC := ${DOCKER} compose
TAG := 3.3
APP_NAME := basegun
REG := ghcr.io
Expand Down
10 changes: 4 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.8'
services:
backend:
build:
Expand All @@ -23,10 +22,9 @@ services:
ports:
- 5000:5000
volumes:
- $PWD/backend/src:/app/src
- $PWD/backend/tests:/app/tests
- $PWD/backend/logs:/tmp/logs
- /app/src/weights
- ./backend/src:/app/src
- ./backend/tests:/app/tests
- ./backend/logs:/tmp/logs

frontend:
build:
Expand All @@ -42,7 +40,7 @@ services:
- 8080:80 # if BUILD_TARGET = prod
- 3000:5173
volumes:
- $PWD/frontend/src:/app/src
- ./frontend/src:/app/src
- /app/node_modules

minio:
Expand Down

0 comments on commit 1b927ec

Please sign in to comment.