Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Commit b0ef106

Browse files
committed
Add docker
1 parent a600e7d commit b0ef106

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

.vscode/settings.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"workbench.colorCustomizations": {
3+
"activityBar.activeBackground": "#3399ff",
4+
"activityBar.background": "#3399ff",
5+
"activityBar.foreground": "#15202b",
6+
"activityBar.inactiveForeground": "#15202b99",
7+
"activityBarBadge.background": "#bf0060",
8+
"activityBarBadge.foreground": "#e7e7e7",
9+
"commandCenter.border": "#e7e7e799",
10+
"sash.hoverBorder": "#3399ff",
11+
"statusBar.background": "#007fff",
12+
"statusBar.foreground": "#e7e7e7",
13+
"statusBarItem.hoverBackground": "#3399ff",
14+
"statusBarItem.remoteBackground": "#007fff",
15+
"statusBarItem.remoteForeground": "#e7e7e7",
16+
"tab.activeBorder": "#3399ff",
17+
"titleBar.activeBackground": "#007fff",
18+
"titleBar.activeForeground": "#e7e7e7",
19+
"titleBar.inactiveBackground": "#007fff99",
20+
"titleBar.inactiveForeground": "#e7e7e799"
21+
},
22+
"peacock.color": "#007fff"
23+
}

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
MAKEFLAGS += --silent
2+
3+
init:
4+
docker compose up -d
5+
diesel migration run
6+
7+
start-server:
8+
echo "TODO"
9+
10+
start-client:
11+
echo "TODO"
12+
13+
stop:
14+
docker compose down

docker-compose.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: '3.8'
2+
services:
3+
db:
4+
image: postgres:14.1-alpine
5+
restart: always
6+
environment:
7+
- POSTGRES_USER=postgres
8+
- POSTGRES_PASSWORD=chat
9+
ports:
10+
- '5432:5432'
11+
volumes:
12+
- postgres:/data
13+
14+
volumes:
15+
postgres:

0 commit comments

Comments
 (0)