-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (57 loc) · 2.15 KB
/
Copy pathdocker-compose.yml
File metadata and controls
60 lines (57 loc) · 2.15 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
name: Euro-Office development environment
services:
eo:
image: ghcr.io/euro-office/documentserver:latest-dev
#build:
# context: ../
# dockerfile: ./build/Dockerfile
# finalubuntu for full build, or develop to add build tools to the container
# target: develop
# args:
# PRODUCT_VERSION: "${PRODUCT_VERSION}"
# BUILD_ROOT: "/package"
container_name: eo
ports:
- "8080:80"
environment:
ALLOW_PRIVATE_IP_ADDRESS: true
USE_UNAUTHORIZED_STORAGE: true
JWT_SECRET: ${EO_JWT_SECRET:-euro-office-dev-jwt-secret-key-2026}
THEME: euro-office
volumes:
- ../:/develop:z # mounts deployed files to application
- ./setup/Makefile:/Makefile:z # mounts deployed files to application
nextcloud:
image: nextcloud:${NC_VERSION:-latest}
container_name: nextcloud
ports:
- "8081:80"
volumes:
- nc_data:/var/www/html
- ./setup/enable-office.sh:/docker-entrypoint-hooks.d/post-installation/enable-office.sh:ro,z
- ../../eurooffice-nextcloud:/var/www/html/custom_apps/eurooffice:ro,z
environment:
# 10.0.2.2 = Android emulator's alias for host. Mobile/LAN IPs are
# applied post-boot by `make refresh-urls` so the container env stays
# stable across mode switches (no recreation, no data loss).
NEXTCLOUD_TRUSTED_DOMAINS: 10.0.2.2
SQLITE_DATABASE: nextcloud
NEXTCLOUD_ADMIN_USER: admin
NEXTCLOUD_ADMIN_PASSWORD: admin
onlyoffice:
image: onlyoffice/documentserver:latest
container_name: onlyoffice
ports:
- "8082:80"
environment:
ALLOW_PRIVATE_IP_ADDRESS: true
USE_UNAUTHORIZED_STORAGE: true
JWT_SECRET: ${EO_JWT_SECRET:-euro-office-dev-jwt-secret-key-2026}
volumes:
nc_data:
# Per-version volume. NC_VERSION selects both the image tag and the volume,
# so each pinned version keeps its own state. Defaults to 'latest'.
# The NC entrypoint auto-runs occ upgrade when the image advances, so
# pulling a newer latest and restarting is safe — no manual upgrade needed.
# Wipe the current version's data with: make wipe-nc
name: nc_data_${NC_VERSION:-latest}