-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (53 loc) · 1.34 KB
/
docker-compose.yml
File metadata and controls
60 lines (53 loc) · 1.34 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
services:
redis:
image: redis:7-alpine
container_name: redis
command: ["redis-server"]
hostname: redis
ports:
- "6379:6379"
restart: unless-stopped
mysql:
image: mysql:8.0
container_name: mysql
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: ${DB_PASSWORD}
DB_NAME: ${DB_NAME}
GUAC_DB_NAME: ${GUAC_DB_NAME}
ports:
- "${DB_PORT:-3306}:3306"
volumes:
- mysql_data:/var/lib/mysql
- ./startup:/docker-entrypoint-initdb.d
command: --default-authentication-plugin=mysql_native_password
control_dev:
build:
context: .
dockerfile: Dockerfile
container_name: CONTROL_DEV
ports:
- "8082:8081"
restart: always
extra_hosts:
- "host.docker.internal:host-gateway"
- "localhost:host-gateway"
environment:
- CORES=${CORES}
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
- DB_HOST=${DB_HOST}
- DB_NAME=${DB_NAME}
- GUAC_DB_USER=${GUAC_DB_USER}
- GUAC_DB_PASSWORD=${GUAC_DB_PASSWORD}
- GUAC_DB_HOST=${GUAC_DB_HOST}
- GUAC_DB_NAME=${GUAC_DB_NAME}
- GUACAMOLE_BASE_URL=${GUACAMOLE_BASE_URL}
- REDIS_HOST=${REDIS_HOST}
- CMS_HOST=${CMS_HOST}
depends_on:
- mysql
- redis
volumes:
mysql_data:
# /usr/local/etc/redis/redis.conf