-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
84 lines (84 loc) · 2.05 KB
/
docker-compose.yml
File metadata and controls
84 lines (84 loc) · 2.05 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
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
services:
backend:
container_name: openshift_backend
hostname: openshift.docker.dev
external_links:
- hts-appteam-saml-idp
build:
context: .
dockerfile: docker/backend.dockerfile
volumes:
- ./:/var/www
networks:
- default
- hts-appteam-local-dev
ports:
- "6050:6050"
# - "8050:8050"
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
cron:
container_name: openshift_cron
build:
context: .
dockerfile: docker/backend.dockerfile
volumes:
- ./:/var/www
networks:
- default
- hts-appteam-local-dev
env_file:
- docker/keys.env
entrypoint: ["/bin/sh", "-c", "while true; do php /var/www/artisan schedule:run --verbose --no-interaction; sleep 60; done"]
depends_on:
- backend
- postgres
- mariadb
frontend:
container_name: openshift_frontend
image: node:current-alpine
volumes:
- ./:/var/www/public
entrypoint: [ "npm", "run", "dev", "--force" ]
working_dir: /var/www/public
ports:
- "7050:7050"
networks:
- default
- hts-appteam-local-dev
postgres:
hostname: openshift_postgres.docker.dev
container_name: openshift_postgres
image: "postgres:latest"
ports:
- "8050:5432"
environment:
POSTGRES_DB: "development"
POSTGRES_USER: "development"
POSTGRES_PASSWORD: "secret"
networks:
- default
- hts-appteam-local-dev
mariadb:
hostname: openshift_mariadb.docker.dev
container_name: openshift_mariadb
image: "mariadb:latest"
ports:
- "8150:3306"
environment:
MYSQL_DATABASE: "development"
MYSQL_USER: "development"
MYSQL_PASSWORD: "secret"
MYSQL_ROOT_PASSWORD: "secret"
networks:
- default
- hts-appteam-local-dev
networks:
hts-appteam-local-dev:
external: true