43 lines
748 B
YAML
43 lines
748 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:16-alpine3.20
|
|
restart: always
|
|
environment:
|
|
- TZ=Asia/Tokyo
|
|
volumes:
|
|
- ./data/db:/var/lib/postgresql/data
|
|
env_file:
|
|
- ./data/.env
|
|
networks:
|
|
- dislocker_network
|
|
|
|
networks:
|
|
dislocker_network:
|