chore: remove docker compose artifacts and references
This commit is contained in:
parent
6502f66de1
commit
3ac4bc5fd5
4 changed files with 3 additions and 40 deletions
|
|
@ -302,7 +302,7 @@ podman build -t gohorse-backend ./backend
|
|||
podman run --name api -p 8080:8080 --env-file ./backend/.env gohorse-backend
|
||||
```
|
||||
|
||||
> **Nota:** Não utilizamos `docker-compose` neste projeto. A infraestrutura de produção utiliza **Quadlet (Systemd + Podman)**. Para dev, recomenda-se rodar o binário Go nativo ou usar `podman run` individualmente.
|
||||
> **Nota:** A infraestrutura de produção utiliza **Quadlet (Systemd + Podman)**. Para dev, recomenda-se rodar o binário Go nativo ou usar `podman run` individualmente.
|
||||
|
||||
### Testes
|
||||
```bash
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ podman build -t gohorse-backoffice .
|
|||
podman run --name backoffice -p 3001:3001 --env-file .env gohorse-backoffice
|
||||
```
|
||||
|
||||
> **Nota:** Não utilizamos `docker-compose`. Para orquestração em produção, utilizamos **Quadlet**.
|
||||
> **Nota:** Para orquestração em produção, utilizamos **Quadlet**.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,37 +0,0 @@
|
|||
services:
|
||||
frontend:
|
||||
image: node:20-alpine
|
||||
working_dir: /app
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
command: sh -c "npm install && npm run dev -- -p 3000"
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
- NEXT_PUBLIC_API_URL=http://localhost:8080
|
||||
- API_URL=http://localhost:8080
|
||||
restart: always
|
||||
|
||||
postgres:
|
||||
image: postgres:15-alpine
|
||||
container_name: gohorsejobs-postgres
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: gohorsejobs
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
restart: always
|
||||
|
||||
rabbitmq:
|
||||
image: rabbitmq:3-management-alpine
|
||||
container_name: gohorsejobs-rabbitmq
|
||||
ports:
|
||||
- "5672:5672"
|
||||
- "15672:15672"
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
|
@ -347,7 +347,7 @@ podman build -t gohorse-frontend .
|
|||
podman run --name frontend --net host --env-file .env.local gohorse-frontend
|
||||
```
|
||||
|
||||
> **Nota:** Não utilizamos `docker-compose`. Para orquestração em produção, utilizamos **Quadlet**.
|
||||
> **Nota:** Para orquestração em produção, utilizamos **Quadlet**.
|
||||
|
||||
**Nota**: Usa `output: "standalone"` no `next.config.ts`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue