-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (45 loc) · 1.14 KB
/
docker-compose.yml
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
version: '3.9'
services:
nginx:
image: nginx:1.23-alpine
volumes:
- ./nginx:/nginx-conf
working_dir: /nginx-conf
command: nginx -c /nginx-conf/nginx.conf
depends_on:
- backend
ports:
- '5050:5050'
backend:
image: node:22-alpine
volumes:
- ./backend:/backend
working_dir: /backend
command: npm start
entrypoint: /backend/entrypoint
environment:
- WISTIA_TLD=${WISTIA_TLD:-com}
- SERVER_PORT=${SERVER_PORT:-5151}
- WISTIA_PERMANENT_TOKEN
extra_hosts:
# Needed if pointing to localhost dev
- api.wistia.io:host-gateway
frontend:
image: node:22-alpine
volumes:
- ./frontend:/frontend
working_dir: /frontend
command: npm start
entrypoint: /frontend/entrypoint
environment:
- REACT_APP_WISTIA_TLD=${WISTIA_TLD:-com}
- REACT_APP_SERVER_ORIGIN=${REACT_APP_SERVER_ORIGIN:-http://localhost:5050}
- PORT=5252
frontend-vanilla:
image: nginx:1.23-alpine
volumes:
- ./frontend-vanilla:/nginx-conf
working_dir: /nginx-conf
command: nginx -c /nginx-conf/nginx.conf
ports:
- '8080:8080'