feat: Initial commit
This commit is contained in:
22
compose.yaml
Normal file
22
compose.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
snapp:
|
||||
image: uraniadev/snapp:0.9-rc-004
|
||||
container_name: snapp
|
||||
ports:
|
||||
- 3000:3000
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- proxy
|
||||
volumes:
|
||||
- db_data:/app/dbschemal/sqlite/prisma
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
driver: local
|
||||
labels:
|
||||
dev.housh.description: "Snapp sqlite database volume."
|
||||
8
example.env
Normal file
8
example.env
Normal file
@@ -0,0 +1,8 @@
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=super-secret
|
||||
TOKEN_SECRET=some-token
|
||||
ORIGIN=https://s.housh.dev
|
||||
|
||||
# Database Settings
|
||||
DATABASE_URL="file:./db.sqlite"
|
||||
DATABASE_PROVIDER=sqlite # mysql | sqlite | postgres
|
||||
Reference in New Issue
Block a user