27 lines
440 B
YAML
27 lines
440 B
YAML
services:
|
|
|
|
backend:
|
|
build: ./backend
|
|
container_name: sloth-backend
|
|
restart: unless-stopped
|
|
env_file: ./backend/.env
|
|
volumes:
|
|
- ./sloth-data:/data
|
|
networks:
|
|
- sloth-net
|
|
|
|
frontend:
|
|
build: ./frontend
|
|
container_name: sloth-frontend
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8088:80"
|
|
networks:
|
|
- sloth-net
|
|
depends_on:
|
|
- backend
|
|
|
|
networks:
|
|
sloth-net:
|
|
driver: bridge
|