-
Notifications
You must be signed in to change notification settings - Fork 277
Expand file tree
/
Copy pathcompose.yml
More file actions
21 lines (21 loc) · 805 Bytes
/
Copy pathcompose.yml
File metadata and controls
21 lines (21 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
services:
frontend_nginx:
profiles:
- frontend
build:
context: .
dockerfile: Dockerfile.nginx
target: nginx
args: # Automatically inferred from env vars, unless specified
- SEMANTIC_VERSION=${SEMANTIC_VERSION:-v1.0.0}
- FRONTEND_NODE_VERSION
- FRONTEND_PNPM_VERSION
ports:
- "50290:8080"
environment:
OPENVERSE_NGINX_UPSTREAM_URL: ${HOST_NETWORK_ADDRESS:-172.17.0.1}:8443
OPENVERSE_NGINX_PLAUSIBLE_EVENT_URL: http://plausible:8000/api/event
# Set to Docker network resolver to be able to resolve the `plausible` container.
# This would be the default but Nginx requires it to be explicitly set when
# making outgoing requests (e.g., to plausible.io)
OPENVERSE_NGINX_DNS_RESOLVER: 127.0.0.11