default docker to bash

pull/225/head
Aevann 2024-03-04 21:46:32 +02:00
parent 786f705178
commit 66596d28a9
2 changed files with 5 additions and 0 deletions

View File

@ -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" ]

View File

@ -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"