58 lines
1.8 KiB
YAML
58 lines
1.8 KiB
YAML
version: '3'
|
|
networks:
|
|
default:
|
|
name: pc
|
|
external: true
|
|
|
|
services:
|
|
# ----------------------------------------------------------
|
|
builder:
|
|
container_name: lineage_builder
|
|
image: lineageos4microg/docker-lineage-cicd
|
|
environment:
|
|
- "BRANCH_NAME=lineage-19.1"
|
|
- "DEVICE_LIST=lemonadep"
|
|
- "SIGN_BUILDS=true"
|
|
- "SIGNATURE_SPOOFING=restricted"
|
|
- "WITH_GMS=true"
|
|
- "ZIP_SUBDIR=false"
|
|
- "OTA_URL=https://ota.nelim.org/api"
|
|
- "CUSTOM_PACKAGES=AndroidAuto gappsstub speechservicestub AuroraServices AuroraStore Aves BromiteWebView Droidify Fennec GBoard GCamPhotosPreview PdfViewer"
|
|
- "INCLUDE_PROPRIETARY=false"
|
|
- "PARALLEL_JOBS=6"
|
|
- "CLEAN_AFTER_BUILD=false"
|
|
volumes:
|
|
- "${ROOT_DIR}/src:/srv/src"
|
|
- "${ROOT_DIR}/zips:/srv/zips"
|
|
- "${ROOT_DIR}/logs:/srv/logs"
|
|
- "${ROOT_DIR}/cache:/srv/ccache"
|
|
- "${ROOT_DIR}/keys:/srv/keys"
|
|
- "${ROOT_DIR}/manifests:/srv/local_manifests"
|
|
- "${ROOT_DIR}/scripts:/srv/userscripts"
|
|
- /etc/timezone:/etc/timezone
|
|
- /etc/localtime:/etc/localtime
|
|
|
|
# ----------------------------------------------------------
|
|
OTA-server:
|
|
container_name: lineageOTA
|
|
image: julianxhokaxhiu/lineageota
|
|
restart: always
|
|
volumes:
|
|
- "${ROOT_DIR}/zips:/var/www/html/builds/full:ro"
|
|
|
|
# ----------------------------------------------------------
|
|
caddy:
|
|
image: slothcroissant/caddy-cloudflaredns:latest
|
|
container_name: caddy
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
|
- ./caddy_data:/data
|
|
- ./caddy_config:/config
|
|
environment:
|
|
- CLOUDFLARE_EMAIL=${EMAIL}
|
|
- CLOUDFLARE_API_TOKEN=${TOKEN}
|
|
- ACME_AGREE=true
|