mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-25 15:06:41 +07:00
#4 added entities and synchronization to project
This commit is contained in:
parent
c5c3c013ba
commit
50db549cbe
5 changed files with 33 additions and 4 deletions
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
version: '3.4'
|
||||
services:
|
||||
db:
|
||||
container_name: bot-db
|
||||
image: postgres:11-alpine
|
||||
ports:
|
||||
- 5432:5432
|
||||
environment:
|
||||
POSTGRES_USER: user
|
||||
POSTGRES_PASSWORD: password
|
||||
POSTGRES_DB: bot
|
||||
volumes:
|
||||
- bot-db:/var/lib/postgresql/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
volumes:
|
||||
bot-db: {}
|
Loading…
Add table
Add a link
Reference in a new issue