Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Add entrypoint for Dockerfile #67

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Add entrypoint for Dockerfile #67

wants to merge 5 commits into from

Conversation

mrmm
Copy link

@mrmm mrmm commented Mar 5, 2018

Add entrypoint.sh file to be used as entrypoint inside the containers of different services.

Copy link
Contributor

@mmhh1910 mmhh1910 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you give a rationale for the change? What is this change enabling? Where are you heading with this?

Also, why is the postgres port exposed to the host now?


postgres:
image: postgres:10-alpine
ports:
- 5431:5432

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious, why the port change here?

@vitorgamer58
Copy link

vitorgamer58 commented Sep 29, 2019

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

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

Successfully merging this pull request may close these issues.

4 participants