updated files
This commit is contained in:
@@ -5,11 +5,18 @@ name: auburnoil
|
||||
services:
|
||||
frontend:
|
||||
container_name: auburnoil
|
||||
image: anekdotin/auburnoil:latest
|
||||
restart: on-failure
|
||||
build:
|
||||
context: ../oil_frontend
|
||||
context: ../auburn-oil_frontend
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- "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:
|
||||
restart: on-failure
|
||||
build:
|
||||
context: ../oil_frontend
|
||||
context: ../auburn-oil_frontend
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
- ../oil_frontend:/app
|
||||
- ../auburn-oil_frontend:/app
|
||||
ports:
|
||||
- '5169:5169'
|
||||
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
|
||||
services:
|
||||
|
||||
front:
|
||||
container_name: goodoil
|
||||
image: anekdotin/auburnoil:latest
|
||||
container_name: auburnoil
|
||||
image: anekdotin/auburn-oil_frontend:latest
|
||||
restart: on-failure
|
||||
build:
|
||||
context: ../auburnoil
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- '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