23 lines
513 B
YAML
23 lines
513 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
blog-server:
|
|
image: blog-server:latest
|
|
container_name: blog-server
|
|
restart: unless-stopped
|
|
volumes:
|
|
- "./data:/app/data"
|
|
networks:
|
|
- proxy
|
|
environment:
|
|
DATABASE_URL: "file:/data/data.db"
|
|
# DATA_DIR: "/data" # The root directory of all data. default: /data
|
|
SECRET_KEY: "88888888888888888888888888888888"
|
|
SECRET_IV: "8888888888888888"
|
|
AUTH_EMAIL: abc@qq.com
|
|
AUTH_PASSWORD: 233
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|