45 lines
775 B
YAML
45 lines
775 B
YAML
services:
|
|
bot:
|
|
build:
|
|
context: "./"
|
|
dockerfile: "Dockerfile_bot"
|
|
restart: always
|
|
environment:
|
|
- TZ=Asia/Tokyo
|
|
depends_on:
|
|
- db
|
|
volumes:
|
|
- ./:/dislocker
|
|
networks:
|
|
- dislocker_network
|
|
|
|
auth:
|
|
build:
|
|
context: "./"
|
|
dockerfile: "Dockerfile_auth"
|
|
restart: always
|
|
environment:
|
|
- TZ=Asia/Tokyo
|
|
volumes:
|
|
- ./:/dislocker
|
|
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:
|