-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yaml
66 lines (61 loc) · 1.24 KB
/
docker-compose.yaml
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
version: '3'
networks:
net-uspdev-app:
driver: bridge
ipam:
config:
- subnet: 10.10.0.0/24
services:
mariadbserver:
image: mariadb:11.1
container_name: mariadbserver
environment:
MYSQL_ROOT_PASSWORD: 'app'
MYSQL_DATABASE: app
MYSQL_USER: app
MYSQL_PASSWORD: 'app'
ports:
- 43306:3306
networks:
net-uspdev-app:
ipv4_address: 10.10.0.10
restart: always
senhaunica:
build:
context: .
dockerfile: ./docker-compose/Dockerfile-senhaunica
container_name: senhaunica
ports:
- 3141:3141
networks:
net-uspdev-app:
ipv4_address: 10.10.0.11
restart: always
app:
build:
context: .
dockerfile: ./docker-compose/Dockerfile-php
depends_on:
- mariadbserver
env_file:
- .env.docker
container_name: app
ports:
- 8000:8000
networks:
net-uspdev-app:
ipv4_address: 10.10.0.12
restart: always
replicado:
build:
context: .
dockerfile: ./docker-compose/Dockerfile-replicado
env_file:
- .env.docker
container_name: replicado
ports:
- 5000:5000
networks:
net-uspdev-app:
ipv4_address: 10.10.0.13
restart: always