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 # Redis for wordpress
create dockerfile create dockerfile

View File

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

View File

@ -1,15 +1,6 @@
FROM alpine FROM alpine
RUN sleep 10 RUN sleep 10
RUN apk update RUN apk update
RUN apk add openssl RUN apk add redis
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
WORKDIR /root/ WORKDIR /root/
RUN adduser --disabled-password admin CMD sh redis-server
RUN echo "admin:password" | chpasswd
CMD sh start.sh
EXPOSE 21/tcp
EXPOSE 21000/tcp