-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (40 loc) · 968 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (40 loc) · 968 Bytes
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
services:
docs:
container_name: docs
build:
context: .
dockerfile: ./apps/docs/Dockerfile
args:
NEXT_PUBLIC_API_URL: https://coolify-tweaks-api.techwithanirudh.com
NEXT_PUBLIC_DOCS_URL: https://coolify-tweaks.techwithanirudh.com
restart: always
environment:
NODE_ENV: production
NEXT_RUNTIME: nodejs
NEXT_PUBLIC_API_URL: https://coolify-tweaks-api.techwithanirudh.com
NEXT_PUBLIC_DOCS_URL: https://coolify-tweaks.techwithanirudh.com
OPENAI_API_KEY: ${OPENAI_API_KEY}
PORT: 3000
HOSTNAME: 0.0.0.0
depends_on:
- api
ports:
- 3000:3000
networks:
- app_network
api:
container_name: api
build:
context: .
dockerfile: ./apps/api/Dockerfile
restart: always
environment:
NODE_ENV: production
PORT: 8080
ports:
- 8080:8080
networks:
- app_network
networks:
app_network:
external: true