This repository has been archived on 2023-08-08. You can view files and clone it, but cannot push or open issues or pull requests.
PassManager/compose.yaml

36 lines
694 B
YAML
Raw Permalink Normal View History

2022-10-14 15:54:29 +00:00
version: '3.4'
networks:
password_manager: {}
services:
passmanager:
build:
context: .
dockerfile: ./Dockerfile
restart: always
environment:
DB_HOST: db
DB_USER: manager
DB_PASS: passwd123!
DB_NAME: passmanager
2022-10-29 22:16:19 +00:00
TG_TOKEN: ${TG_TOKEN}
2022-10-14 15:54:29 +00:00
depends_on:
- db
networks:
- password_manager
db:
build:
context: ./database/
dockerfile: ./Dockerfile
2022-10-14 15:54:29 +00:00
restart: always
environment:
MYSQL_ROOT_PASSWORD: example123!
MYSQL_DATABASE: passmanager
MYSQL_USER: manager
MYSQL_PASSWORD: passwd123!
volumes:
- ./database/data:/var/lib/mysql
2022-10-14 15:54:29 +00:00
networks:
- password_manager