1
0
Fork 0

Initial commit of Docker Compose files for Gitea, Ghost, and Nextcloud.

This commit is contained in:
Jonathan Chan 2018-07-02 17:08:03 -07:00
commit 2a7940004f
3 changed files with 50 additions and 0 deletions

14
ghost/docker-compose.yml Normal file
View File

@ -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"

22
gitea/docker-compose.yml Normal file
View File

@ -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"

14
nextcloud/docker-compose.yml Executable file
View File

@ -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