-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
67 lines (67 loc) · 1.56 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
services:
backend:
container_name: openshift_backend
hostname: openshift.docker.dev
build:
context: .
dockerfile: docker/backend.dockerfile
volumes:
- ./:/var/www
networks:
- default
- hts-appteam-local-dev
ports:
- "9000:9000"
env_file:
- docker/keys.env
environment:
VIRTUAL_HOST: openshift.docker.dev
VIRTUAL_PROTO: https
VIRTUAL_PORT: 443
DUSK_DRIVER_URL: http://seleniarm.docker.dev:4444/wd/hub
DUSK_START_MAXIMIZED: true
frontend:
container_name: openshift_frontend
build:
dockerfile: docker/frontend.dockerfile
volumes:
- ./:/var/www
working_dir: /var/www
ports:
- "7050:7050"
networks:
- default
- hts-appteam-local-dev
web:
container_name: openshift_nginx
hostname: openshift.docker.dev
build:
context: ./
dockerfile: docker/nginx.dockerfile
environment:
- VIRTUAL_HOST=openshift.docker.dev
- VIRTUAL_PROTO=https
- VIRTUAL_PORT=443
volumes:
- ./:/var/www
- ./storage/logs/:/var/log/nginx
networks:
- default
- hts-appteam-local-dev
mariadb:
hostname: openshift_mariadb.docker.dev
container_name: openshift_mariadb
image: "mariadb:latest"
ports:
- "8050:3306"
environment:
MYSQL_ROOT_PASSWORD: "secret"
MYSQL_DATABASE: "development"
MYSQL_USER: "development"
MYSQL_PASSWORD: "secret"
networks:
- default
- hts-appteam-local-dev
networks:
hts-appteam-local-dev:
external: true