feat: initial backend store prototype
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 13s
Some checks failed
Deploy to GitHub Pages / build_site (push) Failing after 13s
This commit is contained in:
29
store/compose.yml
Normal file
29
store/compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
services:
|
||||
app:
|
||||
image: denoland/deno:latest
|
||||
working_dir: /app
|
||||
ports:
|
||||
- 8000:8000
|
||||
environment:
|
||||
DATABASE_URL: postgres://nodarium:nodarium@db:5432/nodarium
|
||||
volumes:
|
||||
- .:/app
|
||||
- deno-cache:/deno-dir/
|
||||
command: run --allow-net --allow-env --allow-read --watch src/main.ts
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: postgres:latest
|
||||
environment:
|
||||
POSTGRES_USER: nodarium
|
||||
POSTGRES_PASSWORD: nodarium
|
||||
POSTGRES_DB: nodarium
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
postgres-data:
|
||||
deno-cache:
|
||||
Reference in New Issue
Block a user