From 2a7940004fc15a3e05e817d5406f4e6a8fc69446 Mon Sep 17 00:00:00 2001 From: Jonathan Chan Date: Mon, 2 Jul 2018 17:08:03 -0700 Subject: [PATCH] Initial commit of Docker Compose files for Gitea, Ghost, and Nextcloud. --- ghost/docker-compose.yml | 14 ++++++++++++++ gitea/docker-compose.yml | 22 ++++++++++++++++++++++ nextcloud/docker-compose.yml | 14 ++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 ghost/docker-compose.yml create mode 100644 gitea/docker-compose.yml create mode 100755 nextcloud/docker-compose.yml diff --git a/ghost/docker-compose.yml b/ghost/docker-compose.yml new file mode 100644 index 0000000..dbe3631 --- /dev/null +++ b/ghost/docker-compose.yml @@ -0,0 +1,14 @@ +version: "3.1" + +services: + ghost: + image: ghost:latest + container_name: ghost + environment: + - NODE_ENV=production + restart: always + volumes: + - ./content:/var/lib/ghost/content + - ./config.production.json:/var/lib/ghost/config.production.json + ports: + - "2368:2368" diff --git a/gitea/docker-compose.yml b/gitea/docker-compose.yml new file mode 100644 index 0000000..817f78d --- /dev/null +++ b/gitea/docker-compose.yml @@ -0,0 +1,22 @@ +version: "2" + +networks: + gitea: + external: false + +services: + server: + image: gitea/gitea:latest + container_name: gitea + environment: + - USER_UID=1000 + - USER_GID=1000 + - RUN_MODE=prod + restart: always + networks: + - gitea + volumes: + - .:/data + ports: + - "3000:3000" + - "222:22" diff --git a/nextcloud/docker-compose.yml b/nextcloud/docker-compose.yml new file mode 100755 index 0000000..0f45ae3 --- /dev/null +++ b/nextcloud/docker-compose.yml @@ -0,0 +1,14 @@ +version: '2' + +services: + app: + image: nextcloud:latest + container_name: nextcloud + ports: + - 8080:80 + volumes: + - ./data:/var/www/html/data + - ./config:/var/www/html/config + - ./themes:/var/www/html/themes + - ./apps:/var/www/html/custom_apps + restart: always