-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (50 loc) · 1.45 KB
/
docker-compose.yml
File metadata and controls
53 lines (50 loc) · 1.45 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
services:
api:
build:
context: .
dockerfile: apps/api/Dockerfile
container_name: secret-santa-api
ports:
- "3001:3000"
environment:
- NODE_ENV=production
- PORT=3000
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
# Placeholder for Azure Data Tables emulator (Azurite)
# Uncomment when ready to use
# azurite:
# image: mcr.microsoft.com/azure-storage/azurite:latest
# container_name: secret-santa-azurite
# ports:
# - "10000:10000" # Blob service
# - "10001:10001" # Queue service
# - "10002:10002" # Table service
# volumes:
# - azurite-data:/data
# command: azurite --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --loose
# restart: unless-stopped
# environment:
# - AZURITE_ACCOUNTS=devstoreaccount1:Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
# Placeholder for UI container
# web:
# build:
# context: .
# dockerfile: apps/web/Dockerfile
# container_name: secret-santa-web
# ports:
# - "3001:3000"
# environment:
# - NODE_ENV=production
# - NEXT_PUBLIC_API_URL=http://api:3000
# depends_on:
# - api
# restart: unless-stopped
# volumes:
# azurite-data:
# driver: local