mirror of
https://github.com/kou029w/quot.git
synced 2025-01-19 00:18:09 +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
|
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:
|
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:
|
api:
|
||||||
image: postgrest/postgrest:v10.0.0
|
image: postgrest/postgrest:v10.0.0
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
@ -19,7 +28,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@/postgres?host=/var/run/postgresql
|
DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD}@/postgres?host=/var/run/postgresql
|
||||||
volumes:
|
volumes:
|
||||||
- .:/db
|
- ./db:/db
|
||||||
- postgres_socket:/var/run/postgresql
|
- postgres_socket:/var/run/postgresql
|
||||||
depends_on: [db]
|
depends_on: [db]
|
||||||
db:
|
db:
|
Loading…
Add table
Reference in a new issue