blob: 2d2576ad74cd3db9a77a17582bc12dfd640df3ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
version: "3.8"
services:
ihatemoney:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
ports:
- 18000:8000
environment:
SQLALCHEMY_DATABASE_URI: "postgresql://ihatemoney:ihatemoney@db/ihatemoney?client_encoding=utf8"
db:
image: postgres:13
restart: unless-stopped
environment:
POSTGRES_USER: "ihatemoney"
POSTGRES_PASSWORD: "ihatemoney"
POSTGRES_DB: "ihatemoney"
PGDATA: "/var/lib/postgresql/data/pgdata"
volumes:
- ./db:/var/lib/postgresql/data/pgdata
|