-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
45 lines (42 loc) · 809 Bytes
/
docker-compose.yaml
File metadata and controls
45 lines (42 loc) · 809 Bytes
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
version: '3'
services:
nginx:
container_name: mynginx
image: nginx:1.13
restart: always
ports:
- 80:80
- 443:443
volumes:
- ./nginx/conf.d:/etc/nginx/conf.d
mysql:
container_name: mymysql
image: mysql/mysql-server:5.7
environment:
MYSQL_DATABASE: database
MYSQL_ROOT_PASSWORD: password
MYSQL_ROOT_HOST: '%'
ports:
- "3306:3306"
restart: always
redis:
container_name: myredis
image: redis:3.2-alpine
ports:
- "6379:6379"
restart: always
app:
container_name: app
image: lucasferreira/baseapp
restart: always
#environment:
#- JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
ports:
- "5005:5005"
- "8983:8983"
expose:
- "8080"
depends_on:
- nginx
- mysql
- redis