Added release como-backend: f9dcc59f3c

This commit is contained in:
Kasper Juul Hermansen 2023-06-04 14:49:59 +02:00
commit 99f67f3d34
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,17 @@
version: '3.7'
services:
como-backend:
image: kasperhermansen/como-backend:f9dcc59f3c
ports:
- 3000:3000
env_file: ".env"
restart: always
depends_on:
- db
db:
image: postgres:13.5
restart: always
env_file: ".env"
volumes:
- ./data/postgres:/var/lib/postgresql/data

4
como-backend/env.example Normal file
View File

@ -0,0 +1,4 @@
POSTGRES_DB=como
POSTGRES_USER=como
POSTGRES_PASSWORD=somenotverysecurepassword
DATABASE_URL="postgres://como:somenotverysecurepassword@localhost:5432/como"