-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
50 lines (47 loc) · 1.17 KB
/
docker-compose.prod.yml
File metadata and controls
50 lines (47 loc) · 1.17 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
version: '3.8'
services:
api:
build:
context: .
dockerfile: Dockerfile
target: api
args:
NEXT_PUBLIC_API_URL: https://api.flower.bayburt.lu
NEXT_PUBLIC_APP_URL: https://flower.bayburt.lu
restart: unless-stopped
expose:
- "3001"
environment:
NODE_ENV: production
DATABASE_URL: ${DATABASE_URL}
PORT: 3001
HOST: 0.0.0.0
LOG_LEVEL: ${LOG_LEVEL:-info}
CORS_ORIGIN: ${CORS_ORIGIN:-https://flower.bayburt.lu}
JWT_SECRET: ${JWT_SECRET}
JWT_REFRESH_SECRET: ${JWT_REFRESH_SECRET}
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY}
networks:
- flower_network
web:
build:
context: .
dockerfile: Dockerfile
target: web
args:
NEXT_PUBLIC_API_URL: https://api.flower.bayburt.lu
NEXT_PUBLIC_APP_URL: https://flower.bayburt.lu
restart: unless-stopped
expose:
- "3000"
environment:
NODE_ENV: production
NEXT_PUBLIC_API_URL: https://api.flower.bayburt.lu
NEXT_PUBLIC_APP_URL: https://flower.bayburt.lu
depends_on:
- api
networks:
- flower_network
networks:
flower_network:
driver: bridge