-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
38 lines (36 loc) · 824 Bytes
/
docker-compose.yaml
File metadata and controls
38 lines (36 loc) · 824 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
version: '3'
services:
mysql:
image: mysql:5.7
env_file:
- env.mysql
volumes:
- /opt/mysql:/var/lib/mysql:rw
- ./volumes/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:ro
- /tmp:/var/run/mysqld:rw
logging:
driver: json-file
options:
max-size: 20m
max-file: "30"
privileged: true
yourls:
# replace "image" with "build" for developing purpose
# build: ./
#
# replae "x.y.z" with "x.y.z-noadmin" for production environment
# image: guessi/docker-yourls:1.7.2-noadmin
image: guessi/docker-yourls:1.7.2
links:
- mysql:mysql
env_file:
- env.yourls
ports:
- 80:80
depends_on:
- mysql
logging:
driver: json-file
options:
max-size: 20m
max-file: "30"