-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.ci.yml
More file actions
35 lines (34 loc) · 1.21 KB
/
docker-compose.ci.yml
File metadata and controls
35 lines (34 loc) · 1.21 KB
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
version: '3'
services:
web:
build:
context: .
dockerfile: Dockerfile-ci
container_name: "version_deployment_ci"
ports:
- "8000:80"
restart: always
depends_on:
- "version_deployment_db"
version_deployment_db:
image: mysql:5.7
container_name: "version_deployment_db_ci"
restart: always
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: deploy
MYSQL_USER: devuser
MYSQL_PASSWORD: devpass
ports:
- "9906:3306"
example.com:
build:
context: ./docker/dev/deploy-target
args:
SSH_MASTER_USER: test
SSH_MASTER_PASS: password1
container_name: "example.com_ci"
restart: always
ports:
- "8001:80"
- "2222:22"