-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·39 lines (39 loc) · 1.05 KB
/
docker-compose.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
version: '3'
services:
points:
container_name: points
networks:
- points-locbridge
build: ./docker
command: bash -c 'chmod -R 777 /var/www/html/points/storage && /usr/sbin/apache2ctl -D FOREGROUND'
restart: always
volumes:
- '.:/var/www/html/points'
- './docker/php.ini:/usr/local/etc/php/php.ini'
environment:
- TERM=xterm
- LC_ALL=C
ports:
- '8080:80'
- '8443:443'
percona-points:
image: percona:5.7
container_name: percona_points
restart: always
networks:
- points-locbridge
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=points
ports:
- '33066:3306'
redis-points:
image: redis:5
container_name: redis_points
restart: always
networks:
- points-locbridge
command: 'redis-server --appendonly yes'
networks:
points-locbridge:
driver: bridge