Skip to content

Commit

Permalink
Merge pull request #7 from suchencjusz/dev
Browse files Browse the repository at this point in the history
ci fix
  • Loading branch information
suchencjusz authored Dec 11, 2023
2 parents a0ca699 + 270739b commit 16af060
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FILMAN-CRAWLER/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ RUN pip3 install -r requirements.txt

COPY . .

CMD [ "python3", "main.py"]
CMD [ "python3", "./main.py"]
2 changes: 1 addition & 1 deletion FILMAN-DISCORD/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ RUN pip3 install -r requirements.txt

COPY . .

CMD [ "python3", "-OO", "main.py"]
CMD [ "python3", "-OO", "./main.py"]
2 changes: 1 addition & 1 deletion FILMAN-SERVER/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ RUN pip3 install -r requirements.txt

COPY . .

CMD [ "python3", "main.py"]
CMD [ "python3", "./main.py"]
43 changes: 43 additions & 0 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
version: "3.6"

services:
filman-server:
container_name: filman-server
image: suchencjusz/filman-server:main
ports:
- "8000:8000"
# build:
# context: /FILMAN-SERVER
# dockerfile: Dockerfile
environment:
- MYSQL_HOST=mysql.mikr.us
- MYSQL_USER=t345
- MYSQL_PASSWORD=01D0_350899
- MYSQL_DATABASE=db_t345
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"

filman-discord:
depends_on:
- filman-server
container_name: filman-discord
image: suchencjusz/filman-discord:main
# build:
# context: /FILMAN-DISCORD
# dockerfile: Dockerfile
environment:
- DISCORD_TOKEN=MTE4MjM3MTY1ODM0NzA2NTM5NA.Gr7OHu.Y3PW4Dl98nLZAzAw1eJfvAzpushE3GXyM0qAX8
restart: unless-stopped

filman-crawler:
depends_on:
- filman-server
container_name: filman-crawler
image: suchencjusz/filman-crawler:main
# build:
# context: /FILMAN-CRAWLER
# dockerfile: Dockerfile
environment:
- CORE_ENDPOINT=http://filman-server:8000
restart: unless-stopped

0 comments on commit 16af060

Please sign in to comment.