Created
October 12, 2023 13:07
-
-
Save qqcf/735b0cf2b42f2b12efa7570f7a1feb40 to your computer and use it in GitHub Desktop.
Revisions
-
qqcf created this gist
Oct 12, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,35 @@ version: '3.7' services: typecho: image: joyqi/typecho:nightly-php7.4-apache container_name: typecho-server restart: always environment: - TYPECHO_SITE_URL=https://example.com - TYPECHO_INSTALL=1 - TYPECHO_USER_NAME=yourname - [email protected] - TYPECHO_DB_HOST=db - TYPECHO_DB_USER=exampleuser - TYPECHO_DB_PASSWORD=examplepass - TYPECHO_DB_DATABASE=exampledb ports: - 127.0.0.1:8080:80 volumes: - typecho:/app/usr db: image: mysql restart: always environment: MYSQL_DATABASE: exampledb MYSQL_USER: exampleuser MYSQL_PASSWORD: examplepass MYSQL_RANDOM_ROOT_PASSWORD: '1' volumes: - db:/var/lib/mysql volumes: typecho: db: