Skip to content

Commit 1251175

Browse files
authored
Enable services in docker-compose.yml
Uncommented and updated the configuration for services in docker-compose.yml, including scraper-go, backend, frontend, and front_admin. Signed-off-by: Hudson Lima Tavares <109999011+hltav@users.noreply.github.com>
1 parent 08a8489 commit 1251175

1 file changed

Lines changed: 3 additions & 82 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,3 @@
1-
# services:
2-
# scraper-go:
3-
# build:
4-
# context: ./scraper-go
5-
# dockerfile: Dockerfile
6-
# container_name: vagas-scraper-go
7-
# env_file:
8-
# - ./.env
9-
# volumes:
10-
# - ./.env:/app/.env:ro
11-
# environment:
12-
# - GO_SCRAPER_ADDR=:8081
13-
# ports:
14-
# - "8081:8081"
15-
# healthcheck:
16-
# test: ["CMD", "wget", "--spider", "http://localhost:8081/health"]
17-
# interval: 5s
18-
# timeout: 3s
19-
# retries: 5
20-
# start_period: 5s
21-
# networks:
22-
# - vagas-net
23-
# restart: unless-stopped
24-
25-
# backend:
26-
# build:
27-
# context: .
28-
# dockerfile: backend/Dockerfile
29-
# container_name: vagas-backend
30-
# env_file:
31-
# - ./backend/.env
32-
# environment:
33-
# - PORT=3001
34-
# - GO_SCRAPER_URL=http://scraper-go:8081
35-
# - KEYWORDS_STORAGE_MODE=${KEYWORDS_STORAGE_MODE:-env}
36-
# - CACHE_TTL_MS=${CACHE_TTL_MS:-600000}
37-
# - REDIS_KEY_PREFIX=${REDIS_KEY_PREFIX:-vagas-full}
38-
# volumes:
39-
# - ./backend/output:/app/output
40-
# ports:
41-
# - "3001:3001"
42-
# depends_on:
43-
# scraper-go:
44-
# condition: service_healthy
45-
# networks:
46-
# - vagas-net
47-
# restart: unless-stopped
48-
49-
# frontend:
50-
# build:
51-
# context: .
52-
# dockerfile: frontend/Dockerfile
53-
# container_name: vagas-frontend
54-
# environment:
55-
# - VITE_API_PROXY_TARGET=http://backend:3001
56-
# ports:
57-
# - "5173:80"
58-
# depends_on:
59-
# - backend
60-
# networks:
61-
# - vagas-net
62-
# restart: unless-stopped
63-
64-
# networks:
65-
# vagas-net:
66-
# external: true
67-
68-
69-
# front_admin:
70-
# build:
71-
# context: .
72-
# dockerfile: front_admin/Dockerfile
73-
# container_name: vagas-front-admin
74-
# environment:
75-
# - VITE_API_PROXY_TARGET=http://backend:3001
76-
# ports:
77-
# - "5174:80"
78-
# depends_on:
79-
# - backend
80-
# networks:
81-
# - vagas-net
82-
# restart: unless-stopped
831

842
services:
853
scraper-go:
@@ -156,6 +74,9 @@ services:
15674
context: .
15775
dockerfile: docker/node.Dockerfile
15876
target: front-admin-runtime
77+
args:
78+
VITE_API_URL: https://api.candidate.app.br
79+
VITE_APP_ENV: production
15980
container_name: vagas-front-admin
16081
env_file:
16182
- ./front_admin/.env

0 commit comments

Comments
 (0)