feat: 그누보드5 R2 스토리지 확장 모듈 초기 설정
- Docker 개발 환경 구성 (nginx, php, mariadb) - 그누보드 기본 extend 파일들 추가 - R2 파일 목록 확인 스크립트 추가 - .gitignore 설정 (gnuboard 코어, 테스트 파일 제외) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
47
docker-compose.yml
Normal file
47
docker-compose.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
container_name: gnuboard-nginx
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- ./gnuboard:/var/www/html:Z
|
||||
- ./docker/nginx.conf:/etc/nginx/conf.d/default.conf:ro,Z
|
||||
depends_on:
|
||||
- php
|
||||
networks:
|
||||
- gnuboard-net
|
||||
|
||||
php:
|
||||
build:
|
||||
context: ./docker
|
||||
dockerfile: Dockerfile.php
|
||||
container_name: gnuboard-php
|
||||
volumes:
|
||||
- ./gnuboard:/var/www/html:Z
|
||||
- ./extend:/var/www/html/extend:Z
|
||||
working_dir: /var/www/html
|
||||
networks:
|
||||
- gnuboard-net
|
||||
|
||||
mariadb:
|
||||
image: mariadb:10.11
|
||||
container_name: gnuboard-db
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: rootpass
|
||||
MYSQL_DATABASE: gnuboard
|
||||
MYSQL_USER: gnuboard
|
||||
MYSQL_PASSWORD: gnuboard123
|
||||
volumes:
|
||||
- gnuboard-db:/var/lib/mysql:Z
|
||||
networks:
|
||||
- gnuboard-net
|
||||
|
||||
networks:
|
||||
gnuboard-net:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
gnuboard-db:
|
||||
Reference in New Issue
Block a user