reminder-bot/compose.yaml

22 lines
457 B
YAML
Raw Normal View History

2024-09-28 13:22:12 +00:00
version: '3.3'
services:
2024-10-04 19:19:06 +00:00
bot:
build: ./Containerfile.run
image: reminder-rs-run
restart: always
expose:
- '80'
2024-09-28 13:22:12 +00:00
database:
image: mysql:8.0
restart: always
environment:
MYSQL_DATABASE: 'reminders'
MYSQL_USER: 'reminder-bot'
ports:
- '3306:3306'
expose:
- '3306'
volumes:
- reminders:/var/lib/mysql