-
Notifications
You must be signed in to change notification settings - Fork 243
Expand file tree
/
Copy pathdocker-compose.development.yml
More file actions
67 lines (60 loc) · 1.78 KB
/
Copy pathdocker-compose.development.yml
File metadata and controls
67 lines (60 loc) · 1.78 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
name: zeppelin-dev
volumes:
home: {}
untrusted-home: {}
mysql-data: {}
redis-data: {}
services:
nginx:
build:
context: ./docker/development/nginx
args:
DEVELOPMENT_WEB_PORT: ${DEVELOPMENT_WEB_PORT:?Missing DEVELOPMENT_WEB_PORT}
ports:
- "${DEVELOPMENT_WEB_PORT:?Missing DEVELOPMENT_WEB_PORT}:443"
mysql:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: ${DEVELOPMENT_MYSQL_ROOT_PASSWORD?:Missing DEVELOPMENT_MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: zeppelin
MYSQL_USER: zeppelin
MYSQL_PASSWORD: ${DEVELOPMENT_MYSQL_PASSWORD?:Missing DEVELOPMENT_MYSQL_PASSWORD}
ports:
- "127.0.0.1:${DEVELOPMENT_MYSQL_PORT:?Missing DEVELOPMENT_MYSQL_PORT}:3306"
volumes:
- mysql-data:/var/lib/mysql
command: --authentication-policy=mysql_native_password
redis:
image: redis:8.2.3
volumes:
- redis-data:/data
devenv:
build: &devenv-build
context: ./docker/development/devenv
init: true
environment:
DEVELOPMENT_SSH_PASSWORD: ${DEVELOPMENT_SSH_PASSWORD:?Missing DEVELOPMENT_SSH_PASSWORD}
ports:
- "127.0.0.1:${DEVELOPMENT_SSH_PORT:?Missing DEVELOPMENT_SSH_PORT}:22"
volumes:
- home:/home/dev
- ./:/workspace/zeppelin
healthcheck:
test: ["CMD", "test", "-e", "/run/uid-ready"]
interval: 30s
start_period: 30s
start_interval: 200ms
# Utility container to run untrusted applications
# without sharing the main devenv's container and home dir
untrusted:
profiles: [manual]
build: *devenv-build
volumes:
- untrusted-home:/home/dev
- ./:/workspace/zeppelin
cftunnel:
profiles: [cftunnel]
image: cloudflare/cloudflared:latest
command: tunnel run
environment:
TUNNEL_TOKEN: ${CF_TUNNEL_TOKEN:-}