-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
33 lines (32 loc) · 825 Bytes
/
compose.yml
File metadata and controls
33 lines (32 loc) · 825 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
31
32
33
services:
frontend:
container_name: ${PROJECT_NAME}_frontend
hostname: frontend
image: ${PROJECT_NAME}_frontend_image
restart: always
extra_hosts:
- "localhost:host-gateway"
build:
context: .
dockerfile: docker/frontend/Dockerfile
args:
NEXT_PUBLIC_API_BASE_URL: ${NEXT_PUBLIC_API_BASE_URL}
NEXT_PUBLIC_API_VERSION: ${NEXT_PUBLIC_API_VERSION}
NEXT_PUBLIC_GOOGLE_CLIENT_ID: ${NEXT_PUBLIC_GOOGLE_CLIENT_ID}
NODE_ENV: ${NODE_ENV}
env_file: .env.local
environment:
- NODE_ENV=${NODE_ENV}
networks:
- global_net
ports:
- "3000:3000"
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "2"
networks:
global_net:
name: ideological_global_network
external: true