-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yml
42 lines (38 loc) · 903 Bytes
/
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
# docker-compose.yml
x-http-proxy: &http-proxy ${HTTP_PROXY}
x-https-proxy: &https-proxy ${HTTPS_PROXY}
x-no-proxy: &no-proxy localhost,127.0.0.1,uclvlddpragae07,uclvlddpragae08,api,web,cache,baserow
x-proxy-common: &proxy-common
HTTP_PROXY: *http-proxy
http_proxy: *http-proxy
HTTPS_PROXY: *https-proxy
https_proxy: *https-proxy
NO_PROXY: *no-proxy
no_proxy: *no-proxy
x-build-args-common: &build-args-common
<<: *proxy-common
HYLODE_UID: ${HYLODE_UID}
version: '3.8'
services:
api:
build:
context: ./api
args:
<<: *build-args-common
environment:
<<: *proxy-common
env_file: .env
ports:
- "${API_PORT}:${API_PORT}"
web:
build:
context: ./web
args:
<<: *build-args-common
environment:
<<: *proxy-common
env_file: .env
ports:
- "${WEB_PORT}:${WEB_PORT}"
depends_on:
- api