forked from MarseyWorld/MarseyWorld
default docker to bash
parent
786f705178
commit
66596d28a9
|
@ -46,4 +46,6 @@ RUN t=$(mktemp) && wget 'https://dist.1-2.dev/imei.sh' -qO "$t" && bash "$t" &&
|
|||
|
||||
EXPOSE 80/tcp
|
||||
|
||||
RUN ln -sf /bin/bash /bin/sh
|
||||
|
||||
CMD [ "/usr/bin/supervisord", "-c", "/d/supervisord.conf" ]
|
||||
|
|
|
@ -24,6 +24,8 @@ services:
|
|||
redis:
|
||||
container_name: "redis"
|
||||
image: redis
|
||||
volumes:
|
||||
- "/bin/bash:/bin/sh"
|
||||
ports:
|
||||
- "6379:6379"
|
||||
logging:
|
||||
|
@ -36,6 +38,7 @@ services:
|
|||
image: postgres
|
||||
command: ["postgres", "-c", "log_statement=all"]
|
||||
volumes:
|
||||
- "/bin/sh:/bin/bash"
|
||||
- "./schema.sql:/docker-entrypoint-initdb.d/00-schema.sql"
|
||||
- "./seed-users.sql:/docker-entrypoint-initdb.d/01-seed-users.sql"
|
||||
- "./seed-badges.sql:/docker-entrypoint-initdb.d/02-seed-badges.sql"
|
||||
|
|
Loading…
Reference in New Issue