「🎉」 init(Inception): Started
This commit is contained in:
0
secrets/credentials.txt
Normal file
0
secrets/credentials.txt
Normal file
0
secrets/db_password.txt
Normal file
0
secrets/db_password.txt
Normal file
0
secrets/db_root_password.txt
Normal file
0
secrets/db_root_password.txt
Normal file
0
srcs/.env
Normal file
0
srcs/.env
Normal file
42
srcs/docker-compose.yml
Normal file
42
srcs/docker-compose.yml
Normal file
@ -0,0 +1,42 @@
|
||||
version: "3"
|
||||
|
||||
volumes:
|
||||
db:
|
||||
wordpress:
|
||||
|
||||
networks:
|
||||
inception:
|
||||
external: false
|
||||
|
||||
services:
|
||||
nginx:
|
||||
container_name: inception-nginx
|
||||
networks:
|
||||
- inception
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
depends_on:
|
||||
- wordpress-php
|
||||
- db
|
||||
volumes:
|
||||
- wordpress
|
||||
restart: unless-stopped
|
||||
|
||||
wordpress-php:
|
||||
container_name: inception-workp-php
|
||||
networks:
|
||||
- inception
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
depends_on:
|
||||
- db
|
||||
restart: unless-stopped
|
||||
|
||||
db:
|
||||
container_name: inception-db
|
||||
networks:
|
||||
- inception
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
restart: unless-stopped
|
||||
|
0
srcs/requirements/mariadb/Dockerfile
Normal file
0
srcs/requirements/mariadb/Dockerfile
Normal file
23
srcs/requirements/nginx/Dockerfile
Normal file
23
srcs/requirements/nginx/Dockerfile
Normal file
@ -0,0 +1,23 @@
|
||||
FROM alpine:3.21
|
||||
|
||||
LABEL version="0.1"
|
||||
LABEL maintainer="KeyZox"
|
||||
|
||||
RUN set -x \
|
||||
&& apk update \
|
||||
&& addgroup -g 101 -S nginx\
|
||||
&& adduser -S -D -H -u 101 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx \
|
||||
&& apk add nginx \
|
||||
&& ln -sf /dev/stdout /var/log/nginx/access.log \
|
||||
&& ln -sf /dev/stderr /var/log/nginx/error.log \
|
||||
&& apk add --no-cache tzdata
|
||||
|
||||
STOPSIGNAL SIGQUIT
|
||||
|
||||
COPY docker-entrypoint.sh /
|
||||
|
||||
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD [ "nginx", "-g", "daemon off;" ]
|
1
srcs/requirements/nginx/docker-entrypoint.sh
Normal file
1
srcs/requirements/nginx/docker-entrypoint.sh
Normal file
@ -0,0 +1 @@
|
||||
echo WTF
|
0
srcs/requirements/wordpress/Dockerfile
Normal file
0
srcs/requirements/wordpress/Dockerfile
Normal file
Reference in New Issue
Block a user