Skip to content

Commit

Permalink
Persistent db data
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Mar 10, 2022
1 parent f81fa7d commit 0321189
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker-dev/tbot/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ services:
- MYSQL_DATABASE=tbot
ports:
- "3306:3306"
volumes:
- dbdata:/var/lib/mysql
redis:
image: "redis:latest"
ports:
Expand All @@ -18,4 +20,7 @@ services:
- "./nginx.conf:/etc/nginx/nginx.conf"
ports:
- 80:80
- 443:443
- 443:443

volumes:
dbdata:

0 comments on commit 0321189

Please sign in to comment.