aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Le <philipp-le-prviat@freenet.de>2020-10-05 08:19:48 +0200
committerPhilipp Le <philipp-le-prviat@freenet.de>2020-10-05 08:19:48 +0200
commit09b4ecd7fcdb8b30d9654f6f3ccbe71550f6d37c (patch)
tree7945dcdac4ff1355d66f5d60639dce1e55b7a027
downloadfarafeit-wp-docker-compose-09b4ecd7fcdb8b30d9654f6f3ccbe71550f6d37c.zip
farafeit-wp-docker-compose-09b4ecd7fcdb8b30d9654f6f3ccbe71550f6d37c.tar.gz
farafeit-wp-docker-compose-09b4ecd7fcdb8b30d9654f6f3ccbe71550f6d37c.tar.bz2
Initial
-rw-r--r--.gitmodules6
m---------bootstrap-file-list0
-rw-r--r--docker-compose.yml31
m---------farafeit-theme0
4 files changed, 37 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..aec43f2
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,6 @@
+[submodule "bootstrap-file-list"]
+ path = bootstrap-file-list
+ url = git@github.com:pl33/wp-bootstrap-file-list.git
+[submodule "farafeit-theme"]
+ path = farafeit-theme
+ url = https://github.com/pl33/wordpress-farafeit.git
diff --git a/bootstrap-file-list b/bootstrap-file-list
new file mode 160000
+Subproject 1d7a80155bb3b64feefdce243d2ca4cc87ec3b6
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..016e7d9
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,31 @@
+version: '3.3'
+
+services:
+ db:
+ image: mysql:5.7
+ volumes:
+ - ./run/db:/var/lib/mysql
+ restart: always
+ environment:
+ MYSQL_ROOT_PASSWORD: somewordpress
+ MYSQL_DATABASE: feit_website
+ MYSQL_USER: wordpress
+ MYSQL_PASSWORD: wordpress
+
+ wordpress:
+ depends_on:
+ - db
+ image: wordpress:5.5.1-php7.2-apache
+ ports:
+ - "8000:80"
+ restart: always
+ environment:
+ WORDPRESS_DB_HOST: db
+ WORDPRESS_DB_USER: wordpress
+ WORDPRESS_DB_PASSWORD: wordpress
+ WORDPRESS_DB_NAME: wordpress
+ volumes:
+ - ./run/html:/var/www/html
+ - ./farafeit-theme:/var/www/html/wp-content/themes/farafeit:ro
+ - ./bootstrap-file-list:/var/www/html/wp-content/plugins/bootstrap-file-list:ro
+
diff --git a/farafeit-theme b/farafeit-theme
new file mode 160000
+Subproject e3c8b97e1bed3d7e771d34c4243981d05b1d054