feat: добавлена современная страница деталей услуги с портфолио и отзывами

This commit is contained in:
2025-11-24 09:05:48 +09:00
parent faa02b79c0
commit ee3a1bf846
20 changed files with 1260 additions and 53 deletions

View File

@@ -44,5 +44,10 @@ EXPOSE 8000
HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000').read()" || exit 1
# Start the Django server with wait for database
CMD ["sh", "-c", "./wait-for-it.sh postgres_db:5432 -- python smartsoltech/manage.py migrate && python smartsoltech/manage.py runserver 0.0.0.0:8000"]
# Entrypoint scripts
COPY docker-entrypoint.sh /docker-entrypoint.sh
COPY docker-entrypoint-bot.sh /docker-entrypoint-bot.sh
RUN chmod +x /docker-entrypoint.sh /docker-entrypoint-bot.sh
# Start the Django server
CMD ["/docker-entrypoint.sh"]