forked from Jblast94/Dev-Stack-Clean
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (26 loc) · 935 Bytes
/
Dockerfile
File metadata and controls
34 lines (26 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM debian:bullseye-slim
# Install dependencies
RUN apt-get update && apt-get install -y \
curl \
gnupg \
lsb-release \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# Install Docker
RUN curl -fsSL https://get.docker.com -o get-docker.sh \
&& sh get-docker.sh \
&& rm get-docker.sh
# Install Docker Compose
RUN curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose \
&& chmod +x /usr/local/bin/docker-compose
# Create required directories
RUN mkdir -p /data/ollama /data/openwebui /data/minio /data/n8n /data/grafana /data/prometheus /data/redis /data/mongodb
# Copy configuration files
COPY docker-compose.yml /app/
COPY prometheus.yml /app/
# Set working directory
WORKDIR /app
# Expose ports
EXPOSE 8080 8081 8082 8083 9000 9001 3000 9090 5672 15672
# Start services
CMD ["docker-compose", "up", "-d"]