mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
1:39
This commit is contained in:
@@ -20,6 +20,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TELEGRAM_BOT_TOKEN=7677506032:AAHEqNUr1lIUfNVbLwaWIaPeKKShsCyz3eo
|
- TELEGRAM_BOT_TOKEN=7677506032:AAHEqNUr1lIUfNVbLwaWIaPeKKShsCyz3eo
|
||||||
- TELEGRAM_CHAT_ID=-1002037023574
|
- TELEGRAM_CHAT_ID=-1002037023574
|
||||||
|
ports:
|
||||||
|
- "8000:8000" # Добавляем это
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend:/app
|
- ./backend:/app
|
||||||
- sqlite_data:/app/instance
|
- sqlite_data:/app/instance
|
||||||
|
|||||||
@@ -21,12 +21,6 @@ FROM nginx:alpine
|
|||||||
# Копируем собранные файлы
|
# Копируем собранные файлы
|
||||||
COPY --from=build /app/dist /usr/share/nginx/html/
|
COPY --from=build /app/dist /usr/share/nginx/html/
|
||||||
|
|
||||||
# Удаляем дефолтную страницу nginx
|
|
||||||
RUN rm -rf /usr/share/nginx/html/50x.html
|
|
||||||
|
|
||||||
# Копируем конфигурацию nginx
|
|
||||||
COPY docker/nginx/conf.d/default.conf /etc/nginx/conf.d/
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
CMD ["nginx", "-g", "daemon off;"]
|
||||||
Reference in New Issue
Block a user