-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.yaml
More file actions
39 lines (38 loc) · 910 Bytes
/
compose.yaml
File metadata and controls
39 lines (38 loc) · 910 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
version: "3.8"
services:
frontend:
build:
context: .
dockerfile: Dockerfile
container_name: subscribely
ports:
- "3000:3000"
develop:
watch:
- path: ./package.json
action: rebuild
- path: ./next.config.js
action: rebuild
- path: ./package-lock.json
action: rebuild
- path: .
target: /app
action: sync
environment:
- NODE_ENV=development
- PORT=3000
- HOST=0.0.0.0
- MONGODB_URI=${MONGODB_URI}
- JWT_SECRET=${JWT_SECRET}
- JWT_EXPIRES_IN=${JWT_EXPIRES_IN}
- GMAIL_USER=${GMAIL_USER}
- GMAIL_PASSWORD=${GMAIL_PASSWORD}
- ARCJET_KEY=${ARCJET_KEY}
- SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}
volumes:
- .:/app
- /app/node_modules
- /app/.next
restart: unless-stopped
tty: true
stdin_open: true