-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (27 loc) · 788 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
30 lines (27 loc) · 788 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
version: '3.8'
services:
frontend:
image: ghcr.io/amintacccp/github-stars-manager-frontend:${FRONTEND_IMAGE_TAG:-latest}
# Uncomment below (and comment out 'image') to build locally instead:
# build: .
ports:
- "8080:80"
depends_on:
- backend
environment:
- BACKEND_HOST=${BACKEND_HOST:-backend:3000}
restart: unless-stopped
backend:
image: ghcr.io/amintacccp/github-stars-manager-server:${BACKEND_IMAGE_TAG:-latest}
# Uncomment below (and comment out 'image') to build locally instead:
# build: ./server
expose:
- "3000"
environment:
- API_SECRET=${API_SECRET:-}
- ENCRYPTION_KEY=${ENCRYPTION_KEY:-}
volumes:
- backend-data:/app/data
restart: unless-stopped
volumes:
backend-data: