diff --git a/docker-compose.yaml b/docker-compose.yaml index cbdfa2f..dcb06d4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,23 +5,10 @@ services: restart: always # build: # context: . - # dockerfile: Dockerfile_alpine + # dockerfile: Dockerfile volumes: - ./env:/app/.env ports: - "8088:8000" - mydb: - image: "mariadb:10.5" - container_name: "mydb" - restart: always - environment: - - MYSQL_ROOT_PASSWORD=root_password - - MYSQL_DATABASE=db - - MYSQL_USER=db_user - - MYSQL_PASSWORD=db_password - ports: - - "3306:3306" - # networks: - # - app_myphp_fpm - volumes: - - ./data_db/database:/var/lib/mysql \ No newline at end of file + #volumes: + # - ./data_db/conf:/app/conf/ \ No newline at end of file diff --git a/src/.env.example b/src/.env.example index 50f1c57..2748862 100644 --- a/src/.env.example +++ b/src/.env.example @@ -18,7 +18,7 @@ log_max_age=7 max_backups=3 #数据库类型,默认为mysql类型,可配置项: postgres,mysql,sqlite -db_type=postgres +db_type=sqlite # sqlite配置 sqlite_database_filename=