ask for versions, start docker container
This commit is contained in:
parent
2a727bf1b2
commit
72e20a080d
36
compose.yml
36
compose.yml
@ -1,36 +0,0 @@
|
|||||||
services:
|
|
||||||
fpm:
|
|
||||||
hostname: fpm
|
|
||||||
image: git.shihaam.dev/dockerfiles/php-fpm:latest
|
|
||||||
volumes:
|
|
||||||
- ./:/var/www/html/
|
|
||||||
nginx:
|
|
||||||
hostname: nginx
|
|
||||||
image: git.shihaam.dev/dockerfiles/nginx-fpm:latest
|
|
||||||
volumes_from:
|
|
||||||
- fpm
|
|
||||||
ports:
|
|
||||||
- 9000:80
|
|
||||||
composer:
|
|
||||||
hostname: composer
|
|
||||||
image: composer:latest
|
|
||||||
volumes:
|
|
||||||
- ./:/var/www/html/
|
|
||||||
working_dir: /var/www/html
|
|
||||||
node:
|
|
||||||
hostname: node
|
|
||||||
image: node:18.20.4
|
|
||||||
volumes:
|
|
||||||
- ./:/var/www/html/
|
|
||||||
working_dir: /var/www/html
|
|
||||||
mysql:
|
|
||||||
image: mysql:5.7.44
|
|
||||||
hostname: mysql
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
- MYSQL_RANDOM_ROOT_PASSWORD=yes
|
|
||||||
- MYSQL_USER=cusport
|
|
||||||
- MYSQL_PASSWORD=cusport
|
|
||||||
- MYSQL_DATABASE=cusport
|
|
||||||
volumes:
|
|
||||||
- ./.db:/var/lib/mysql
|
|
Loading…
x
Reference in New Issue
Block a user