Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose格式有误 #7

Open
tsecfun opened this issue Oct 20, 2022 · 2 comments
Open

docker-compose格式有误 #7

tsecfun opened this issue Oct 20, 2022 · 2 comments

Comments

@tsecfun
Copy link

tsecfun commented Oct 20, 2022

按照现有格式直接复制会提示

service 'environment' must be a mapping not an array

建议

version: "3"
services:
  aquarhome:
    image: finetu/aquarhome:latest
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Shanghai
    volumes:
      - your/data:/var/aquardata
      - your/aquarpool:/opt/aquarpool 
      - your/logs:/root/.pm2/logs
    ports:
      - 8172:8172
      - 10000-10100:10000-10100
    restart: unless-stopped
@firemakergk
Copy link
Owner

我在执行脚本的时候没有碰到这个问题,但有另一个缩进问题,我已经提交了新版代码。

@fz-wu
Copy link

fz-wu commented Mar 7, 2023

我也遇到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants