first commit

This commit is contained in:
2024-03-21 16:34:48 -04:00
commit 6821c0193e
3 changed files with 64 additions and 0 deletions

15
docker-compose.build.yml Executable file
View File

@@ -0,0 +1,15 @@
version: '3.8'
name: auburnoil
services:
frontend:
container_name: oil-frontend
image: anekdotin/oil-frontend:latest
restart: on-failure
build:
context: ../oil_frontend
dockerfile: Dockerfile.prod
ports:
- "5169:3000"

27
docker-compose.dev.yml Executable file
View File

@@ -0,0 +1,27 @@
version: '3.8'
name: oil
volumes:
myapp:
external: true
services:
front:
container_name: goodoil-dev
restart: on-failure
image: node:latest
build:
context: ../oil_frontend
dockerfile: Dockerfile
volumes:
- ../oil_frontend:/app
ports:
- '5169:5173'
command: 'vite dev --host --port 5173'

22
docker-compose.prod.yml Executable file
View File

@@ -0,0 +1,22 @@
version: '3.8'
name: auburnoil
services:
front:
container_name: oil-frontend
image: anekdotin/oil-frontend:latest
restart: on-failure
build:
context: ../oil_frontend
dockerfile: Dockerfile.prod
volumes:
- ../oil_frontend:/app
ports:
- '5169:5173'