Praneeth TT:
Hi I used the Kompose tool to convert the docker-compose file to K8s manifest but It’s not converting properly, can anyone help me I’ll share a sample compose service script if someone can convert that to K8s manifest that wld be great coz I can use that as refrence for the rest of my services to convert.
server:
container_name: dd-server
build:
context: ./backend
args:
GITLAB_ACCESS_TOKEN: ${GITLAB_ACCESS_TOKEN?:Variable not set}
INSTALL_DEV_PACKAGES: "true"
dockerfile: ./server/Dockerfile
env_file:
- .env
volumes:
- ./backend/server/app:/app/app
- ./backend/server/tests:/app/tests
- ./backend/server/alembic:/app/alembic
- ./backend/server/config.yml:/app/config.yml
- ./features.yml:/app/features.yml
- ./backend/dependencies/ranker:/dependencies/ranker
ports:
- "${SERVER_PORT:-80}:80"
command: /start-reload.sh
depends_on:
- postgres
- redis
- elasticsearch
restart: unless-stopped