updated files
This commit is contained in:
@@ -5,11 +5,18 @@ name: auburnoil
|
|||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
container_name: auburnoil
|
container_name: auburnoil
|
||||||
image: anekdotin/auburnoil:latest
|
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
build:
|
build:
|
||||||
context: ../oil_frontend
|
context: ../auburn-oil_frontend
|
||||||
dockerfile: Dockerfile.prod
|
dockerfile: Dockerfile.prod
|
||||||
ports:
|
ports:
|
||||||
- "5180:3000"
|
- "5180:3000"
|
||||||
|
|
||||||
|
api:
|
||||||
|
restart: on-failure
|
||||||
|
build:
|
||||||
|
context: ../auburn-oil_api
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
ports:
|
||||||
|
- '5181:8000'
|
||||||
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|||||||
@@ -6,17 +6,22 @@ services:
|
|||||||
front:
|
front:
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
build:
|
build:
|
||||||
context: ../oil_frontend
|
context: ../auburn-oil_frontend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- ../oil_frontend:/app
|
- ../auburn-oil_frontend:/app
|
||||||
ports:
|
ports:
|
||||||
- '5169:5169'
|
- '5169:5169'
|
||||||
command: 'npm run dev'
|
command: 'npm run dev'
|
||||||
|
|
||||||
|
|
||||||
|
api_dev:
|
||||||
|
restart: on-failure
|
||||||
|
build:
|
||||||
|
context: ../auburn-oil_api
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
volumes:
|
||||||
|
- ../auburn-oil_api:/app
|
||||||
|
ports:
|
||||||
|
- '5170:8000'
|
||||||
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|||||||
@@ -3,18 +3,17 @@ version: '3.8'
|
|||||||
|
|
||||||
name: auburnoil
|
name: auburnoil
|
||||||
services:
|
services:
|
||||||
|
|
||||||
front:
|
front:
|
||||||
container_name: goodoil
|
container_name: auburnoil
|
||||||
image: anekdotin/auburnoil:latest
|
image: anekdotin/auburn-oil_frontend:latest
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
build:
|
|
||||||
context: ../auburnoil
|
|
||||||
dockerfile: Dockerfile.prod
|
|
||||||
ports:
|
ports:
|
||||||
- '5180:3000'
|
- '5180:3000'
|
||||||
|
|
||||||
|
|
||||||
|
api:
|
||||||
|
restart: on-failure
|
||||||
|
image: anekdotin/auburn-oil_api:latest
|
||||||
|
ports:
|
||||||
|
- '5181:8000'
|
||||||
|
command: 'uvicorn app.main:app --reload --host 0.0.0.0 --port 8000'
|
||||||
|
|||||||
Reference in New Issue
Block a user