-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathci-docker-compose.yml
97 lines (90 loc) · 2.06 KB
/
ci-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
86
87
88
89
90
91
92
93
94
95
96
97
version : "3"
services:
devc-api:
build:
context: .
dockerfile: dockerfiles/Ci.Dockerfile
container_name: devc-api
depends_on:
- devc-pg
restart: always
ports:
- "23102:80"
environment:
APP_NAME: "Laravel API boilerplate"
DB_HOST: "devc-pg"
MAIL_HOST: "devc-mailpit"
networks:
devc-network:
ipv4_address: 23.102.1.1
extra_hosts:
- host.docker.internal:host-gateway
devc-pg:
image: postgres:15
container_name: devc-pg
volumes:
- devc-pg-disk:/var/lib/postgres
restart: always
environment:
POSTGRES_PASSWORD: password
POSTGRES_DB: testing
networks:
devc-network:
ipv4_address: 23.102.1.2
devc-mailpit:
image: 'axllent/mailpit:latest'
container_name: devc-mailpit
restart: always
networks:
devc-network:
ipv4_address: 23.102.1.3
# devc-q:
# build:
# context: .
# dockerfile: dockerfiles/QueueListener.Dockerfile
# container_name: devc-q
# depends_on:
# - devc-api
# volumes:
# - .:/var/www/html
# restart: unless-stopped
# networks:
# devc-network:
# ipv4_address: 23.102.1.4
# devc-0x:
# build:
# context: .
# dockerfile: dockerfiles/0x.Dockerfile
# container_name: devc-0x
# depends_on:
# - devc-api
# volumes:
# - .:/var/www/html
# restart: always
# networks:
# devc-network:
# ipv4_address: 23.102.1.5
# devc-fe-app:
# build:
# context: .
# dockerfile: dockerfiles/FeApp.Dockerfile
# container_name: devc-fe-app
# ports:
# - "1001:3000"
# volumes:
# - ./fe-app:/var/www/html
# #- ./dockerfiles:/var/www/html/dockerfiles
# restart: always
# networks:
# devc-network:
# ipv4_address: 23.102.1.6
# On-disk storage of DB data, when containers are stopped
volumes:
devc-pg-disk: {}
# Local network for services running using this docker-compose config
networks:
devc-network:
ipam:
driver: default
config:
- subnet: 23.102.0.0/16