Dockerで動かす用
This commit is contained in:
parent
c4b4718583
commit
425edead34
2 changed files with 21 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -163,3 +163,4 @@ cython_debug/
|
|||
config/
|
||||
db/
|
||||
test.py
|
||||
data/
|
19
compose_db.yml
Normal file
19
compose_db.yml
Normal file
|
@ -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:
|
Loading…
Reference in a new issue