-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
85 lines (77 loc) · 1.53 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '3'
networks:
laravel:
services:
site:
image: gbelot2003/docker-laravel_site_1:latest
volumes:
- ./:/var/www/html
ports:
- '80:80'
depends_on:
- php
- mysql
- redis
networks:
- laravel
php:
image: gbelot2003/docker-laravel_php_1:v3
volumes:
- ./:/var/www/html
ports:
- '9000:9000'
networks:
- laravel
mysql:
image: mysql:5.7.29
restart: unless-stopped
tty: true
ports:
- '3306:3306'
environment:
MYSQL_DATABASE: homestead
MYSQL_USER: homestead
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: password
SERVICE_TAGS: dev
SERVICE_NAME: mysql
networks:
- laravel
# pgsql:
# image: postgres:9.6-alpine
# volumes:
# - pgsqldata:/var/lib/postgresql/data
# environment:
# - "POSTGRES_DB=${DB_DATABASE}"
# - "POSTGRES_USER=${DB_USER}"
# - "POSTGRES_PASSWORD=${DB_PASSWORD}"
# ports:
# - "5432:5432"
redis:
image: redis:latest
command: redis-server --appendonly yes
restart: unless-stopped
networks:
- laravel
#ports:
# - '6379:6379'
npm:
image: node:13.7
volumes:
- ./:/var/www/html
working_dir: /var/www/html
entrypoint: ['npm']
app:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
restart: always
environment:
- PMA_ARBITRARY=1
links:
- mysql
ports:
- 8085:80
volumes:
- /sessions
networks:
- laravel