Last active 1757897299

ridzimeko revised this gist 1757897299. Go to revision

No changes

ridzimeko revised this gist 1757897285. Go to revision

1 file changed, 30 insertions

docker-compose.yml(file created)

@@ -0,0 +1,30 @@
1 +
2 + version: "3.9"
3 + services:
4 + nginx:
5 + build: ./nginx/
6 + ports:
7 + - 80:80
8 +
9 + volumes:
10 + - ./php_code/:/var/www/html/
11 +
12 + php:
13 + build: ./php_code/
14 + expose:
15 + - 9000
16 + volumes:
17 + - ./php_code/:/var/www/html/
18 +
19 +
20 + db:
21 + image: mariadb
22 + volumes:
23 + - mysql-data:/var/lib/mysql
24 + environment:
25 + MYSQL_ROOT_PASSWORD: mariadb
26 + MYSQL_DATABASE: ecomdb
27 +
28 +
29 + volumes:
30 + mysql-data:
Newer Older