-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[bug]: network is not specified in docker compose file #5961
Comments
Please share more details about the issue you are facing. Add more details to this issue
|
os: linux RHEL8 amd64 output of
output of
output of
|
and working services:
web:
container_name: web
build:
context: .
network: host
dockerfile: ./web/Dockerfile.web
args:
DOCKER_BUILDKIT: 1
restart: always
command: node web/server.js web
depends_on:
- api
admin:
container_name: admin
build:
context: .
network: host
dockerfile: ./admin/Dockerfile.admin
args:
DOCKER_BUILDKIT: 1
restart: always
command: node admin/server.js admin
depends_on:
- api
- web
space:
container_name: space
build:
context: .
network: host
dockerfile: ./space/Dockerfile.space
args:
DOCKER_BUILDKIT: 1
restart: always
command: node space/server.js space
depends_on:
- api
- web
api:
container_name: api
build:
context: ./apiserver
network: host
dockerfile: Dockerfile.api
args:
DOCKER_BUILDKIT: 1
restart: always
command: ./bin/docker-entrypoint-api.sh
env_file:
- ./apiserver/.env
depends_on:
- plane-db
- plane-redis
worker:
container_name: bgworker
build:
context: ./apiserver
network: host
dockerfile: Dockerfile.api
args:
DOCKER_BUILDKIT: 1
restart: always
command: ./bin/docker-entrypoint-worker.sh
env_file:
- ./apiserver/.env
depends_on:
- api
- plane-db
- plane-redis
beat-worker:
container_name: beatworker
build:
context: ./apiserver
network: host
dockerfile: Dockerfile.api
args:
DOCKER_BUILDKIT: 1
restart: always
command: ./bin/docker-entrypoint-beat.sh
env_file:
- ./apiserver/.env
depends_on:
- api
- plane-db
- plane-redis
migrator:
container_name: plane-migrator
build:
context: ./apiserver
network: host
dockerfile: Dockerfile.api
args:
DOCKER_BUILDKIT: 1
restart: no
command: ./bin/docker-entrypoint-migrator.sh
env_file:
- ./apiserver/.env
depends_on:
- plane-db
- plane-redis
live:
container_name: plane-live
build:
context: .
network: host
dockerfile: ./live/Dockerfile.live
args:
DOCKER_BUILDKIT: 1
restart: always
command: node live/dist/server.js
plane-db:
container_name: plane-db
image: postgres:15.7-alpine
restart: always
command: postgres -c 'max_connections=1000'
volumes:
- pgdata:/var/lib/postgresql/data
env_file:
- .env
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PGDATA: /var/lib/postgresql/data
plane-redis:
container_name: plane-redis
image: valkey/valkey:7.2.5-alpine
restart: always
volumes:
- redisdata:/data
plane-mq:
container_name: plane-mq
image: rabbitmq:3.13.6-management-alpine
restart: always
env_file:
- .env
environment:
RABBITMQ_DEFAULT_USER: ${RABBITMQ_USER}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASSWORD}
RABBITMQ_DEFAULT_VHOST: ${RABBITMQ_VHOST}
volumes:
- rabbitmq_data:/var/lib/rabbitmq
plane-minio:
container_name: plane-minio
image: minio/minio
restart: always
command: server /export --console-address ":9090"
volumes:
- uploads:/export
environment:
MINIO_ROOT_USER: ${AWS_ACCESS_KEY_ID}
MINIO_ROOT_PASSWORD: ${AWS_SECRET_ACCESS_KEY}
# Comment this if you already have a reverse proxy running
proxy:
container_name: proxy
build:
context: ./nginx
dockerfile: Dockerfile
restart: always
ports:
- ${NGINX_PORT}:80
environment:
FILE_SIZE_LIMIT: ${FILE_SIZE_LIMIT:-5242880}
BUCKET_NAME: ${AWS_S3_BUCKET_NAME:-uploads}
depends_on:
- web
- api
- space
- admin
volumes:
pgdata:
redisdata:
uploads:
rabbitmq_data: |
Hey @hmmftg, are you setting up Plane locally using our pre-built images, or are you using local images you've built yourself? Also, the steps you listed in Steps to Reproduce are meant for setting up Plane for development purposes. If you’re looking to self-host or try out Plane, please refer to the documentation here: Self-Hosting Plane - Community Edition. |
I'm totally disappointed using your app, my last try was this:
since it cannot download |
I tried all methods including normal installation, preview installation and building from source and all of them lead to errors |
Hey @hmmftg could you please share the output of |
|
@hmmftg, could you please run the following command and check the output? export CPU_ARCH=$(uname -m)
docker manifest inspect "makeplane/plane-proxy:stable" | grep "\"architecture\": \"${CPU_ARCH}\"" The output should look like this:
|
I don't know why but it says: |
It looks like there's an issue with your Docker setup. Please try reinstalling Docker. |
Is there an existing issue for this?
Current behavior
running
docker-compose
orsetup.sh
fails with problems like:docker compose problem https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
I was forced to manually add
network: host
to all build entries folowing this SOSteps to reproduce
run
setup.sh
ordocker compose -f docker-compose-local.yml up -d
Environment
Production
Browser
None
Variant
Self-hosted
Version
v0.23.1
The text was updated successfully, but these errors were encountered: