-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose.yml
52 lines (50 loc) · 1.6 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
46
47
48
49
50
51
52
version: "3"
services:
# web:
# image: web
# container_name: web
# build:
# context: .
# dockerfile: ./apps/web/Dockerfile
# ports:
# - 3000:3000
public_web:
image: public_web
container_name: public_web
expose:
- 3001:3001
build:
context: .
dockerfile: ./apps/web/Dockerfile
args:
- HOSTNAME=${HOSTNAME:-localhost}
- NODE_ENV=production
- PORT=${PORT:-3001}
- APPLICATION_NAME=${APPLICATION_NAME:-}
- BASE_URL=${BASE_URL:-}
- AUTH_URL=${AUTH_URL:-}
- PROJECT_SERVICE_URL=${PROJECT_SERVICE_URL:-}
- APP_NAME=${APP_NAME:-MVC}
- NEXT_PUBLIC_PRIMARY_COLOR=${PRIMARY_COLOR:-0 100% 43%}
- AUTH_TRUST_HOST=${AUTH_TRUST_HOST:-true}
- AUTH_SECRET=${AUTH_SECRET:-}
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET:-}
- TEST_USERNAME=${TEST_USERNAME:-}
- TEST_PASSWORD=${TEST_PASSWORD:-}
environment:
- NODE_ENV=production
- HOSTNAME=${HOSTNAME:-localhost}
- PORT=${PORT:-3001}
- APPLICATION_NAME=${APPLICATION_NAME:-}
- BASE_URL=${BASE_URL:-}
- AUTH_URL=${AUTH_URL:-}
- PROJECT_SERVICE_URL=${PROJECT_SERVICE_URL:-}
- APP_NAME=${APP_NAME:-MVC}
- NEXT_PUBLIC_PRIMARY_COLOR=${PRIMARY_COLOR:-0 100% 43%}
- AUTH_TRUST_HOST=${AUTH_TRUST_HOST:-true}
- AUTH_SECRET=${AUTH_SECRET:-}
- NEXTAUTH_SECRET=${NEXTAUTH_SECRET:-}
- TEST_USERNAME=${TEST_USERNAME:-}
- TEST_PASSWORD=${TEST_PASSWORD:-}
labels:
- 'traefik.http.services.public_web.loadbalancer.server.port=3001'