-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
33 lines (33 loc) · 1.97 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
version: '3'
services:
ionic:
build:
context: ./docker/ionic
dockerfile: Dockerfile
args:
USER: ionic # the project user, which will be used to run this Docker container
JAVA_VERSION: 8 # the java version that should be installed and used to run the Android SDK
ANDROID_SDK_VERSION: 24.4.1 # the Android SDK version that should be installed and used by Cordova
ANDROID_PLATFORMS_VERSION: "31.0.2" # the Android platforms version that should be installed and used by Cordova
ANDROID_BUILD_TOOLS_VERSION: "30" # the Android build tools version that should be installed and used by Cordova
NODE_VERSION: "14.15.5" #" the node version that should be installed globally and used by Cordova and Ionic
NPM_VERSION: "6.14.11" # the npm version that will be installed with node globally
PACKAGE_MANAGER: "npm" # if yarn or npm should be used as package manager
CORDOVA_VERSION: "10.0.0" # the Cordova version that will be installed globally and used by Ionic to build the Android APKs
IONIC_VERSION: "5.4.16" # the Ionic version that will be installed globally to power your project
TYPESCRIPT_VERSION: "4.3.5" # the Typescript version that will be installed globally to translate your .ts files
# GULP_VERSION: # the Gulp version that will be installed globally to run your gulp tasks
# privileged: true # これを指定しないと、systemctl コマンドが使えないので注意
tty: true
stdin_open: true
ports:
# - "0.0.0.0:3000:3000" # ng dev server
# - "0.0.0.0:5000:5000" # node
- "0.0.0.0:8200:8200" # ionic dev server
# - "0.0.0.0:8080:8080" # webpack
# - "0.0.0.0:9876:9876" # karma
# - "0.0.0.0:35729:35729" # livereload
volumes:
- "./:/app" # mapping to local ionic project directory
#- "/dev/bus/usb:/dev/bus/usb" # usb to build to device | ATTENTION: only enable this on non-osx systems
container_name: asas-app