-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest
More file actions
39 lines (37 loc) · 862 Bytes
/
Copy pathtest
File metadata and controls
39 lines (37 loc) · 862 Bytes
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
version: '3'
services:
web:
build:
context: Backend
dockerfile: nginx.Dockerfile
image: nginx
ports:
- "8888:80"
depends_on:
- php
restart: always
frontend:
image: vaibhavgawad/codechef-frontend:latest
ports:
- "8081:80"
php:
build:
context: Backend
dockerfile: dev.Dockerfile
depends_on:
- mysql
restart: always
mysql:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: 'password'
MYSQL_USER: 'vaibhav'
MYSQL_PASSWORD: 'password'
MYSQL_DATABASE: 'slimphp'
volumes:
- slimphp:/var/lib/mysql
ports:
- "3325:3306"
restart: always
volumes:
slimphp: {}