simplify and automate offer creation

This commit is contained in:
ntr committed 2022-09-02 00:06:51 +10:00
1 parent 7ea2c37116
commit a43d4f32e4
10 files changed
+97 -67

No files matched your search

+2 -12
View File
@@ -12,14 +12,6 @@ services:
volumes:
- "./db:/var/lib/postgresql/data"
# pg-test:
# image: postgres:latest
# environment:
# POSTGRES_USER: 'mcrates'
# POSTGRES_DB: 'test'# POSTGRES_PASSWORD: 'digdeep'
# ports:
# - '55432:5432'
api:
image: node:16
working_dir: /opt/mcrates/api
@@ -28,8 +20,6 @@ services:
entrypoint: npm start
environment:
DATABASE_URL: 'postgresql://mcrates:digdeep@pg:5432/mcrates?schema=public'
ports:
- '41337:41337'
volumes:
- "./api:/opt/mcrates/api"
@@ -37,13 +27,13 @@ services:
image: node:16
working_dir: /opt/mcrates/client
entrypoint: npm start
ports:
- '8080:8080'
volumes:
- "./client:/opt/mcrates/client"
nginx:
image: nginx:latest
depends_on:
- 'api'
volumes:
- './nginx/localhost.nginx.conf:/etc/nginx/conf.d/default.conf'
ports: