Atualizar compose.yml
This commit is contained in:
+2
-6
@@ -6,8 +6,6 @@ services:
|
|||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
|
||||||
- ./app:/app
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
@@ -16,8 +14,6 @@ services:
|
|||||||
container_name: web
|
container_name: web
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
volumes:
|
|
||||||
- ./web:/app
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:15
|
image: postgres:15
|
||||||
@@ -28,7 +24,7 @@ services:
|
|||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
- POSTGRES_DB=${POSTGRES_DB}
|
- POSTGRES_DB=${POSTGRES_DB}
|
||||||
volumes:
|
volumes:
|
||||||
- ./db:/var/lib/postgresql/data
|
- ./pgdata:/var/lib/postgresql/data
|
||||||
|
|
||||||
gen:
|
gen:
|
||||||
build: ./gen
|
build: ./gen
|
||||||
@@ -36,6 +32,6 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "11434:11434"
|
- "11434:11434"
|
||||||
volumes:
|
volumes:
|
||||||
- ./gen:/root/.ollama
|
- ./gendata:/root/.ollama
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user