initial commit
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
services:
|
||||
|
||||
backend:
|
||||
build: ./backend
|
||||
container_name: sloth-backend
|
||||
restart: unless-stopped
|
||||
env_file: ./backend/.env
|
||||
volumes:
|
||||
- sloth-data:/data
|
||||
networks:
|
||||
- sloth-net
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:3001/api/providers"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
frontend:
|
||||
build: ./frontend
|
||||
container_name: sloth-frontend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
networks:
|
||||
- sloth-net
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
|
||||
volumes:
|
||||
sloth-data:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
sloth-net:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user