-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.override.yml.example
More file actions
82 lines (74 loc) · 2.75 KB
/
docker-compose.override.yml.example
File metadata and controls
82 lines (74 loc) · 2.75 KB
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
75
76
77
78
79
80
81
82
# docker-compose.override.yml.example
#
# This is a template for local Docker Compose overrides.
# Copy this file to 'docker-compose.override.yml' and customize for your environment.
#
# NOTE: docker-compose.override.yml is gitignored and will not be committed.
#
# Usage:
# cp docker-compose.override.yml.example docker-compose.override.yml
# # Edit docker-compose.override.yml with your settings
# docker-compose up -d dev
version: '3.8'
services:
# ===========================================================================
# Corporate/Enterprise Environment Configuration
# ===========================================================================
# Uncomment and configure this section if you need custom CA certificates
# for corporate proxies or internal certificate authorities.
# dev:
# build:
# args:
# - INSTALL_CUSTOM_CERTS=true
# # Optional: Add proxy settings if needed
# environment:
# - HTTP_PROXY=http://proxy.company.com:8080
# - HTTPS_PROXY=http://proxy.company.com:8080
# - NO_PROXY=localhost,127.0.0.1
# ===========================================================================
# Android Development Configuration
# ===========================================================================
# Uncomment this section if you need Android NDK support
dev-android:
build:
context: .
dockerfile: Dockerfile.android
args:
- INSTALL_CUSTOM_CERTS=false
# Set to true if you need custom certs for Android builds
# - INSTALL_CUSTOM_CERTS=true
container_name: embedded-ruby-vm-dev-android
volumes:
- source-code:/workspace
- gradle-cache:/gradle-cache
- build-artifacts:/workspace/build
- kmp-artifacts:/workspace/kmp/build
- android-sdk:/android-sdk
- android-ndk:/android-ndk
environment:
- GRADLE_USER_HOME=/gradle-cache
- ANDROID_HOME=/android-sdk
- ANDROID_NDK_HOME=/android-ndk
- GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.parallel=true
# Optional: Add proxy settings if needed
# - HTTP_PROXY=http://proxy.company.com:8080
# - HTTPS_PROXY=http://proxy.company.com:8080
# - NO_PROXY=localhost,127.0.0.1
working_dir: /workspace
stdin_open: true
tty: true
command: tail -f /dev/null
# ===========================================================================
# Additional Volume Mounts
# ===========================================================================
# Mount additional directories if needed (e.g., SSH keys, config files)
# dev:
# volumes:
# - ~/.ssh:/root/.ssh:ro
# - ~/.gitconfig:/root/.gitconfig:ro
volumes:
# Android-specific volumes
android-sdk:
driver: local
android-ndk:
driver: local