-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·46 lines (45 loc) · 1.09 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
version: '3.1'
services:
db:
image: mysql:5.7.21
container_name: atualsistemas-db
environment:
MYSQL_ROOT_PASSWORD: atualsistemas
MYSQL_DATABASE: atualsistemas
MYSQL_USER: atualsistemas
MYSQL_PASSWORD: atualsistemas
volumes:
- ./db:/var/lib/mysql
ports:
- 3310:3310
networks:
atualsistemas-net:
ipv4_address: 172.45.0.101
backend:
container_name: atualsistemas-backend
build:
context: .
environment:
LARAVEL_APP_ENV: local
LARAVEL_APP_DEBUG: "true"
LARAVEL_APP_URL: http://atualsistemas.com/
LARAVEL_DB_CONNECTION: atualsistemas-db
LARAVEL_DB_HOST: atualsistemas
LARAVEL_DB_PORT: 3310
LARAVEL_DB_DATABASE: atualsistemas
LARAVEL_DB_USERNAME: atualsistemas
LARAVEL_DB_PASSWORD: atualsistemas
ports:
- 86:86
volumes:
- ./:/var/www/atualsistemas
networks:
atualsistemas-net:
ipv4_address: 172.45.0.102
networks:
atualsistemas-net:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.45.0.0/24