-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
36 lines (36 loc) · 1.2 KB
/
compose.yaml
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
services:
web:
image: ghcr.io/rendi12345678/coffee-shop:latest
build:
context: .
dockerfile: Dockerfile
platform: linux/amd64
ports:
- "3000:3000"
develop:
watch:
- path: ./package.json
action: rebuild
- path: ./next.config.mjs
action: rebuild
- path: ./package-lock.json
action: rebuild
- path: .
target: /app
action: sync
environment:
DB_URL: ${DB_URL}
NEXT_PUBLIC_MAPS_API_KEY: ${NEXT_PUBLIC_MAPS_API_KEY}
JWT_SECRET: ${JWT_SECRET}
NODE_ENV: ${NODE_ENV}
ADMIN_EMAIL: ${ADMIN_EMAIL}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
NEXT_PUBLIC_FIREBASE_API_KEY: ${NEXT_PUBLIC_FIREBASE_API_KEY}
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN: ${NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN}
NEXT_PUBLIC_FIREBASE_PROJECT_ID: ${NEXT_PUBLIC_FIREBASE_PROJECT_ID}
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET: ${NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET}
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID: ${NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID}
NEXT_PUBLIC_FIREBASE_APP_ID: ${NEXT_PUBLIC_FIREBASE_APP_ID}
NEXT_PUBLIC_MEASURENMENT_ID: ${NEXT_PUBLIC_MEASURENMENT_ID}
volumes:
data: