diff --git a/.gitignore b/.gitignore index 89d30ec..98b9a79 100644 --- a/.gitignore +++ b/.gitignore @@ -162,4 +162,5 @@ cython_debug/ config/ db/ -test.py \ No newline at end of file +test.py +data/ \ No newline at end of file diff --git a/compose_db.yml b/compose_db.yml new file mode 100644 index 0000000..af5ba48 --- /dev/null +++ b/compose_db.yml @@ -0,0 +1,19 @@ +services: + db: + image: postgres:alpine3.20 + restart: always + environment: + - TZ=Asia/Tokyo + volumes: + - ./data/db:/var/lib/postgresql/data + ports: + - 12245:5432 + environment: + - POSTGRES_DB=dislocker + - POSTGRES_USER=dislocker + - POSTGRES_PASSWORD=Password + networks: + - dislocker_network + +networks: + dislocker_network: