-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (63 loc) · 1.66 KB
/
docker-compose.yml
File metadata and controls
69 lines (63 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: '3'
services:
proxy:
build:
context: ./nginx
dockerfile: Dockerfile
image: gustavenrique/proxy
container_name: gustavenrique/fib-proxy
restart: always
ports:
- 3000:80
depends_on:
- fib-api
- fib-ui
postgres:
image: 'postgres:16-bookworm'
container_name: postgres
restart: always
environment:
- POSTGRES_PASSWORD=j3iy8.32HD1u@@w#
redis:
image: 'redis:7.2-bookworm'
container_name: redis
restart: always
fib-api:
build:
context: ./api
dockerfile: Dockerfile
image: gustavenrique/fib-api
container_name: fib-api
restart: always
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=j3iy8.32HD1u@@w#
- POSTGRES_DATABASE=postgres
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- PORT=5000
depends_on:
- postgres
- redis
fib-worker:
build:
context: ./worker
dockerfile: Dockerfile
image: gustavenrique/fib-worker
container_name: fib-worker
restart: unless-stopped
environment:
- REDIS_CONNECTION=redis://redis:6379
depends_on:
- redis
fib-ui:
build:
context: ./ui
dockerfile: Dockerfile
image: gustavenrique/fib-ui
container_name: fib-ui
restart: always
environment:
- WDS_SOCKET_PORT=3000