1
0
Fork 0
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:
Nebel 2022-08-23 12:54:45 +09:00
parent 255724a2c1
commit cd01268305
4 changed files with 10 additions and 12 deletions

View file

1
app/.gitignore vendored
View file

@ -1,2 +1 @@
.env
node_modules

View file

@ -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"

View file

@ -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: