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

ubantu下sudo docker-compose up -d报404错误 #227

Open
itsean opened this issue Jul 13, 2018 · 1 comment
Open

ubantu下sudo docker-compose up -d报404错误 #227

itsean opened this issue Jul 13, 2018 · 1 comment
Labels
Unconfirmed [DEFAULT] Waiting for someone to validate, reproduce, or otherwise confirm that this is a bug.

Comments

@itsean
Copy link

itsean commented Jul 13, 2018

root@ubuntu:~/hitchhiker# sudo docker-compose up -d
Creating network "hitchhiker_default" with the default driver
ERROR: 404 page not found

下面是我的docker-compose.yml配置文件内容

version: '2'
services:
hitchhiker:
image: registry.cn-hangzhou.aliyuncs.com/brook/hitchhiker-cn:v0.13
container_name: hitchhiker
environment:
- HITCHHIKER_DB_HOST=localhost
- HITCHHIKER_APP_HOST=http://localhost:8080/ # should change before deploying.
- HITCHHIKER_DB_USERNAME=root
- MYSQL_ROOT_PASSWORD=123456
- MYSQL_DATABASE=hitchhiker
# add environment variable to config
ports:
- "8080:8080"
- "11010:11010"
volumes:
- /my/hitchhiker/data:/usr/src/Hitchhiker/build/global_data/project
- /my/hitchhiker/backup:/usr/src/Hitchhiker/build/backup
- /my/hitchhiker/logs:/usr/src/Hitchhiker/build/logs

这是什么原因啊,配置有问题吗?

@brookshi brookshi added the Unconfirmed [DEFAULT] Waiting for someone to validate, reproduce, or otherwise confirm that this is a bug. label Jul 14, 2018
@brookshi
Copy link
Owner

在网上查了下,有几个可以参考:
laradock/laradock#86
moby/moby#17960

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unconfirmed [DEFAULT] Waiting for someone to validate, reproduce, or otherwise confirm that this is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants