Update docker-compose.serverless.yml

This commit is contained in:
Easy 2023-11-10 18:08:46 +08:00 committed by GitHub
parent be51654558
commit f5841403c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 19 deletions

View File

@ -1,19 +1,20 @@
version: '2' # 已废弃
services: # version: '2'
app: # services:
image: 'ccr.ccs.tencentyun.com/ftqq/pushdeercore' # app:
ports: # image: 'ccr.ccs.tencentyun.com/ftqq/pushdeercore'
- '9000:9000' # ports:
environment: # - '9000:9000'
- DB_HOST=host.docker.internal # environment:
- DB_PORT=3306 # - DB_HOST=host.docker.internal
- DB_USERNAME=root # - DB_PORT=3306
- DB_DATABASE=pushdeer_local # - DB_USERNAME=root
- DB_PASSWORD= # - DB_DATABASE=pushdeer_local
- DB_TIMEZONE=+08:00 # - DB_PASSWORD=
- GO_PUSH_IOS_TOPIC=com.pushdeer.self.ios # - DB_TIMEZONE=+08:00
- GO_PUSH_IOS_CLIP_TOPIC=com.pushdeer.self.ios.Clip # - GO_PUSH_IOS_TOPIC=com.pushdeer.self.ios
- APP_DEBUG=false # - GO_PUSH_IOS_CLIP_TOPIC=com.pushdeer.self.ios.Clip
- WEB_PHP_SOCKET=127.0.0.1:8000 # - APP_DEBUG=false
extra_hosts: # - WEB_PHP_SOCKET=127.0.0.1:8000
- "host.docker.internal:host-gateway" # extra_hosts:
# - "host.docker.internal:host-gateway"