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