This commit is contained in:
Danny Houtworm 2023-08-13 21:23:18 +00:00
parent 1ef25ab8b1
commit 6ad3a0d59c
3 changed files with 9 additions and 15 deletions

View File

@ -1,6 +1,3 @@
# Adminer
create dockerfile
# Redis for wordpress
create dockerfile

View File

@ -48,7 +48,6 @@ services:
- /home/djonker/data/wordpress:/home/admin
ports:
- 21:21
- 20:20
- 21000:21000
adminer:
build: ./requirements/adminer
@ -59,6 +58,13 @@ services:
networks:
wordpress:
ipv4_address: 172.20.30.40
redis:
build: ./requirements/redis
container_name: redis
restart: always
networks:
wordpress:
ipv4_address: 172.20.30.50
networks:
wordpress:

View File

@ -1,15 +1,6 @@
FROM alpine
RUN sleep 10
RUN apk update
RUN apk add openssl
RUN apk add pure-ftpd --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
RUN apk add telegraf
COPY srcs/start.sh /root/start.sh
COPY srcs/vsftpd.conf /etc/vsftpd/vsftpd.conf
COPY srcs/telegraf.conf /etc/telegraf/telegraf.conf
RUN apk add redis
WORKDIR /root/
RUN adduser --disabled-password admin
RUN echo "admin:password" | chpasswd
CMD sh start.sh
EXPOSE 21/tcp
EXPOSE 21000/tcp
CMD sh redis-server