forked from DevOps/deploy.stack
- 在HTTP.ShowCaptcha中启用验证码功能 - 移除HTTP.APIForService.BasicAuth中的用户配置 - 新增stack.yaml文件定义redis和nightingale服务
40 lines
704 B
YAML
40 lines
704 B
YAML
networks:
|
|
nightingale:
|
|
driver: bridge
|
|
|
|
|
|
services:
|
|
|
|
redis:
|
|
image: "redis:8-alpine"
|
|
container_name: redis
|
|
hostname: redis
|
|
restart: always
|
|
ports:
|
|
- "6379:6379"
|
|
environment:
|
|
TZ: Asia/Shanghai
|
|
networks:
|
|
- nightingale
|
|
|
|
nightingale:
|
|
image: flashcatcloud/nightingale:8.3.1
|
|
container_name: nightingale
|
|
hostname: nightingale
|
|
restart: always
|
|
environment:
|
|
GIN_MODE: release
|
|
TZ: Asia/Shanghai
|
|
WAIT_HOSTS: redis:6379
|
|
volumes:
|
|
- ./n9eetc_pg:/app/etc
|
|
ports:
|
|
- "17000:17000"
|
|
networks:
|
|
- nightingale
|
|
depends_on:
|
|
- redis
|
|
links:
|
|
- redis:redis
|
|
command: >
|
|
sh -c "/app/n9e" |