diff --git a/Dockerfile.cron b/Dockerfile.cron index fd61193..124c2f4 100644 --- a/Dockerfile.cron +++ b/Dockerfile.cron @@ -18,7 +18,7 @@ USER cronuser COPY ./swatscraper/go.mod ./swatscraper/go.sum ./ RUN go mod download -COPY --chown=cronuser:cronuser ./.env ./.env +COPY --chown=cronuser:cronuser ./swatscraper/.env ./ COPY --chown=cronuser:cronuser ./swatscraper/*.go ./ RUN GOCACHE=/app/.cache CGO_ENABLED=0 GOOS=linux go build -o /app/swatscraper diff --git a/components/counter.tsx b/components/counter.tsx deleted file mode 100644 index b3fcb19..0000000 --- a/components/counter.tsx +++ /dev/null @@ -1,24 +0,0 @@ -"use client"; - -import { useState } from "react"; -import { Input } from "@nextui-org/react"; -import SearchIcon from "@mui/icons-material/Search"; -export const Counter = () => { - const [count, setCount] = useState(0); - - return ( - } - type="search" - /> - ); -}; diff --git a/components/icons.tsx b/components/icons.tsx deleted file mode 100644 index 90541d5..0000000 --- a/components/icons.tsx +++ /dev/null @@ -1,215 +0,0 @@ -import * as React from "react"; - -import { IconSvgProps } from "../types"; - -export const Logo: React.FC = ({ - size = 36, - width, - height, - ...props -}) => ( - - - -); - -export const DiscordIcon: React.FC = ({ - size = 24, - width, - height, - ...props -}) => { - return ( - - - - ); -}; - -export const TwitterIcon: React.FC = ({ - size = 24, - width, - height, - ...props -}) => { - return ( - - - - ); -}; - -export const GithubIcon: React.FC = ({ - size = 24, - width, - height, - ...props -}) => { - return ( - - - - ); -}; - -export const MoonFilledIcon = ({ - size = 24, - width, - height, - ...props -}: IconSvgProps) => ( - -); - -export const SunFilledIcon = ({ - size = 24, - width, - height, - ...props -}: IconSvgProps) => ( - -); - -export const HeartFilledIcon = ({ - size = 24, - width, - height, - ...props -}: IconSvgProps) => ( - -); - -export const SearchIcon = (props: IconSvgProps) => ( - -); - -export const NextUILogo: React.FC = (props) => { - const { width, height = 40 } = props; - - return ( - - - - - - ); -}; diff --git a/docker-compose.yml b/docker-compose.yml index 99ecda8..341ea2c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,6 +33,8 @@ services: - scheduler-dbdata:/var/lib/postgresql/data env_file: - .env + ports: + - 5432:5432 networks: - internal @@ -42,6 +44,8 @@ services: context: . dockerfile: ./Dockerfile.cron restart: unless-stopped + env_file: + - .env depends_on: - scheduler-db networks: