-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
74 lines (70 loc) · 2.04 KB
/
docker-compose.yaml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# This file is used to run your application locally with Docker Compose
version: '3.8'
services:
website-template-www:
container_name: website-template-www
build:
context: ./www
dockerfile: ${dockerfile}
args:
USER_UID: ${taito_host_user_uid}
restart: unless-stopped
networks:
- default
ports:
- "127.0.0.1:9999:8080"
- "127.0.0.1:4229:9229"
volumes:
- "./www:/develop:delegated"
- "/develop/node_modules"
- "/develop/site/.cache" # FOR GATSBY ONLY
- "/develop/site/node_modules" # FOR GATSBY ONLY
- "/develop/site/public" # FOR GATSBY ONLY
# FOR GATSBY ONLY:
# - "/develop/site/.cache"
# - "/develop/site/node_modules"
# - "/develop/site/public"
environment:
COMMON_PUBLIC_PORT: 9999
BASE_PATH: ''
ASSETS_PATH: ''
ASSETS_DOMAIN: ''
# NOTE: For testing build webhook locally
# website-template-webhook:
# container_name: website-template-webhook
# build:
# context: ./www
# dockerfile: Dockerfile.webhook
# args:
# USER_UID: ${taito_host_user_uid}
# restart: unless-stopped
# networks:
# - default
# ports:
# - "9000:9000"
# volumes:
# - "./www:/develop:delegated"
# - "/develop/node_modules"
# - "/develop/site/node_modules"
# secrets:
# - WEBHOOK_URL_PREFIX
# - SLACK_WEBHOOK_URL
# - VC_TOKEN
# environment:
# COMMON_PUBLIC_PORT: 9754
# COMMON_ENV: dev
# WEBSITE_URL: http://localhost:9754
# SLACK_CHANNEL:
# # OPTIONAL:
# VC_PULL_ENABLED: 'false'
# VC_REPOSITORY_URL: ${taito_vc_repository_url}.git
# NOTE: For testing build webhook locally
# secrets:
# WEBHOOK_URL_PREFIX:
# file: ./secrets/${taito_env}/${taito_project}-${taito_env}-webhook.urlprefix
# SLACK_WEBHOOK_URL:
# file: ./secrets/${taito_env}/${taito_project}-${taito_env}-webhook.slackurl
# VC_TOKEN:
# file: ./secrets/${taito_env}/${taito_project}-${taito_env}-webhook.gittoken
networks:
default: