bla
This commit is contained in:
parent
1ef25ab8b1
commit
6ad3a0d59c
@ -1,6 +1,3 @@
|
||||
# Adminer
|
||||
create dockerfile
|
||||
|
||||
# Redis for wordpress
|
||||
create dockerfile
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user