Added release como-backend: f9dcc59f3c
This commit is contained in:
commit
99f67f3d34
17
como-backend/docker-compose.yml
Normal file
17
como-backend/docker-compose.yml
Normal 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
4
como-backend/env.example
Normal file
@ -0,0 +1,4 @@
|
||||
POSTGRES_DB=como
|
||||
POSTGRES_USER=como
|
||||
POSTGRES_PASSWORD=somenotverysecurepassword
|
||||
DATABASE_URL="postgres://como:somenotverysecurepassword@localhost:5432/como"
|
Loading…
Reference in New Issue
Block a user