mirror of
https://github.com/kou029w/quot.git
synced 2025-01-18 16:08:03 +00:00
move compose.yml to root
This commit is contained in:
parent
255724a2c1
commit
cd01268305
4 changed files with 10 additions and 12 deletions
0
db/.gitignore → .gitignore
vendored
0
db/.gitignore → .gitignore
vendored
1
app/.gitignore
vendored
1
app/.gitignore
vendored
|
@ -1,2 +1 @@
|
|||
.env
|
||||
node_modules
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
services:
|
||||
app:
|
||||
image: kou029w/quot-app
|
||||
build: "."
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
user: ${UID:-1000}:${GID:-1000}
|
||||
ports: ["8080:8080"]
|
||||
volumes:
|
||||
- ".:/app"
|
|
@ -1,4 +1,13 @@
|
|||
services:
|
||||
app:
|
||||
image: kou029w/quot-app
|
||||
build: app
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
user: ${UID:-1000}:${GID:-1000}
|
||||
ports: ["8080:8080"]
|
||||
volumes:
|
||||
- ./app:/app
|
||||
api:
|
||||
image: postgrest/postgrest:v10.0.0
|
||||
restart: unless-stopped
|
||||
|
@ -19,7 +28,7 @@ services:
|
|||
environment:
|
||||
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@/postgres?host=/var/run/postgresql
|
||||
volumes:
|
||||
- .:/db
|
||||
- ./db:/db
|
||||
- postgres_socket:/var/run/postgresql
|
||||
depends_on: [db]
|
||||
db:
|
Loading…
Add table
Reference in a new issue