backend-replacement
backend-replacement copied to clipboard
Add entrypoint for Dockerfile
Add entrypoint.sh file to be used as entrypoint inside the containers of different services.
root@ubuntu-s-1vcpu-1gb-nyc3-01:/home/backend# docker-compose run contract_observer migrate head
WARNING: Found orphan containers (backend_order_refresh_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Starting backend_postgres_1 ...
Starting backend_redis_1 ... done
: not foundt.sh: line 2:
: not foundt.sh: line 8:
./entrypoint.sh: line 13: syntax error: unexpected "elif" (expecting "then")
solved with: https://github.com/Vitors-DEX-Exchange/DEX-Backend/commit/e6766e1c14b45cd081c8b932361bd30068fd4a41