-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
61 lines (58 loc) · 1.61 KB
/
docker-compose-dev.yml
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
services:
back:
build:
context: .
dockerfile: Dockerfile
container_name: moplus-server-dev
image: moplus-server-dev
restart: always
ports:
- 8081:8080
environment:
- TZ=Asia/Seoul
- SPRING_PROFILES_ACTIVE=dev
- SPRING_DATASOURCE_URL=jdbc:mysql://moplus-mysql-dev:3306/${DEV_MYSQL_DATABASE}?useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true&tinyInt1isBit=false
- SPRING_DATASOURCE_USERNAME=${DEV_MYSQL_USER}
- SPRING_DATASOURCE_PASSWORD=${DEV_MYSQL_PASSWORD}
- SENTRY_DSN=${SENTRY_DSN}
- CLOUD_AWS_S3_BUCKET=${S3_BUCKET}
- CLOUD_AWS_S3_SIGNATURE_VERSION=AWS4-HMAC-SHA256
- CLOUD_AWS_CREDENTIALS_ACCESS_KEY=${AWS_ACCESS_KEY}
- CLOUD_AWS_CREDENTIALS_SECRET_KEY=${AWS_SECRET_KEY}
- CLOUD_AWS_REGION_STATIC=${AWS_REGION}
- CLOUD_AWS_REGION_AUTO=false
- CLOUD_AWS_STACK_AUTO=false
depends_on:
- mysql
networks:
- moplus-dev
- nginx-network
- apm_env
mysql:
image: mysql:8.0
container_name: moplus-mysql-dev
environment:
MYSQL_ROOT_PASSWORD: ${DEV_MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${DEV_MYSQL_DATABASE}
MYSQL_USER: ${DEV_MYSQL_USER}
MYSQL_PASSWORD: ${DEV_MYSQL_PASSWORD}
ports:
- "3307:3306"
volumes:
- dev_data:/var/lib/mysql
networks:
- moplus-dev
volumes:
dev_data:
driver: local
driver_opts:
o: bind
type: none
device: ../mopl_data/dev_data
networks:
moplus-dev:
driver: bridge
nginx-network:
external: true
apm_env:
external: true