wrongmove/crawler/podman-compose.yml
Kadir 8d11e4a81c Fix deps and move to a better local environment
- Cleaned up some deps and moved them to the dev section
- Moved from mysqlclient to pymysql which is a python native one which does not require the OS to have the correct mysql lib
- Added a podman compose file so we can have all dependencies in one place easily without the need to install redis or a database locally

For podman install
- podman
- podman-compose (do a poetry sync I think?)
- podman-compose up to start the containers
2025-09-14 19:00:26 +01:00

24 lines
No EOL
529 B
YAML

version: "3.8"
services:
redis:
image: redis:8
container_name: redis-container
ports:
- "6379:6379"
volumes:
- ./data/redis:/data
command: ["redis-server", "--appendonly", "yes"]
mysql:
image: mysql:9
container_name: mysql-container
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: wtfviktordidyoubuildsomuch
MYSQL_DATABASE: wrongmove
MYSQL_USER: wrongmoveuser
MYSQL_PASSWORD: wrongmovepass
volumes:
- ./data/mysql:/var/lib/mysql