2024-08-10 18:27:24 +09:00
|
|
|
services:
|
|
|
|
bot:
|
|
|
|
build:
|
|
|
|
context: "./"
|
|
|
|
dockerfile: "Dockerfile_bot"
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Tokyo
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
volumes:
|
2024-08-10 18:30:12 +09:00
|
|
|
- ./:/dislocker
|
2024-08-10 18:27:24 +09:00
|
|
|
networks:
|
|
|
|
- dislocker_network
|
|
|
|
|
|
|
|
auth:
|
|
|
|
build:
|
|
|
|
context: "./"
|
|
|
|
dockerfile: "Dockerfile_auth"
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Tokyo
|
|
|
|
volumes:
|
2024-08-10 18:30:12 +09:00
|
|
|
- ./:/dislocker
|
2024-08-10 18:27:24 +09:00
|
|
|
ports:
|
|
|
|
- 12244:5000
|
|
|
|
networks:
|
|
|
|
- dislocker_network
|
|
|
|
|
|
|
|
db:
|
|
|
|
image: postgres:alpine3.20
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Tokyo
|
|
|
|
volumes:
|
|
|
|
- ./data/db:/var/lib/postgresql/data
|
|
|
|
ports:
|
|
|
|
- 12245:5432
|
|
|
|
env_file:
|
|
|
|
- ./data/.env
|
|
|
|
networks:
|
|
|
|
- dislocker_network
|
|
|
|
|
|
|
|
networks:
|
|
|
|
dislocker_network:
|