-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 940 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 940 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
version: '3'
services:
app:
build: .
container_name: igame-app
volumes:
- ./:/var/www
networks:
- igame-network
env_file:
- .env
nginx:
image: nginx:alpine
container_name: igame-nginx
ports:
- "8090:8090"
- "443:443"
volumes:
- ./:/var/www
- ./etc/infrastructure/nginx/conf.d:/etc/nginx/conf.d
networks:
- igame-network
db:
platform: linux/x86_64
image: mysql:5.6.47
container_name: igame-db
ports:
- "3306:3306"
volumes:
- ./etc/infrastructure/mysql/my.cnf:/etc/mysql/my.cnf
- ./etc/database/base.sql:/docker-entrypoint-initdb.d/base.sql
networks:
- igame-network
env_file:
- .env
networks:
igame-network:
driver: bridge