Init commit, env setup, docker + laravel initial install, 1h 25min spent
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
networks:
|
||||
default:
|
||||
driver: bridge
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
container_name: nginx_fhr
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./nginx-hosts:/etc/nginx/conf.d
|
||||
- ./main-repo:/var/www/test-fhr
|
||||
links:
|
||||
- php8
|
||||
# networks:
|
||||
# default:
|
||||
# aliases:
|
||||
# - test-fhr.ldev
|
||||
php8:
|
||||
container_name: php8_fhr
|
||||
build: ./images/php85
|
||||
ports:
|
||||
- "9000:9000"
|
||||
volumes:
|
||||
- ./main-repo:/var/www/test-fhr
|
||||
links:
|
||||
- mysql
|
||||
- redis
|
||||
mysql:
|
||||
build: ./images/mysql
|
||||
container_name: mysql_fhr
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- ./MySQL:/var/lib/mysql
|
||||
- ./MySQL-files:/var/lib/mysql-files
|
||||
- ./logs/mysql:/var/log/mysql
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: secret
|
||||
security_opt:
|
||||
- seccomp:unconfined
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: redis_fhr
|
||||
command: redis-server --requirepass foobared
|
||||
volumes:
|
||||
- ./Redis:/data
|
||||
Reference in New Issue
Block a user