|
|
@ -21,11 +21,10 @@ services:
|
|
|
|
- unboundedpress
|
|
|
|
- unboundedpress
|
|
|
|
- restheart
|
|
|
|
- restheart
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- ./../nginx/conf.d:/etc/nginx/conf.d
|
|
|
|
- ./nginx/conf.d:/etc/nginx/conf.d
|
|
|
|
- ./../nginx/vhost.d:/etc/nginx/vhost.d
|
|
|
|
- ./nginx/vhost.d:/etc/nginx/vhost.d
|
|
|
|
- ./../nginx/html:/usr/share/nginx/html
|
|
|
|
- ./../nginx/html:/usr/share/nginx/html
|
|
|
|
- ./../nginx/certs:/etc/nginx/certs:ro
|
|
|
|
- ./../nginx/certs:/etc/nginx/certs:ro
|
|
|
|
- ./nginx/conf.d/uploadsize.conf:/etc/nginx/conf.d/uploadsize.conf:ro
|
|
|
|
|
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
|
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
|
|
|
|
|
|
|
|
|
|
letsencrypt:
|
|
|
|
letsencrypt:
|
|
|
@ -33,10 +32,10 @@ services:
|
|
|
|
container_name: letsencrypt
|
|
|
|
container_name: letsencrypt
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- ./../nginx/conf.d:/etc/nginx/conf.d
|
|
|
|
- ./nginx/conf.d:/etc/nginx/conf.d
|
|
|
|
- ./../nginx/certs:/etc/nginx/certs
|
|
|
|
- ./nginx/vhost.d:/etc/nginx/vhost.d
|
|
|
|
- ./../nginx/vhost.d:/etc/nginx/vhost.d
|
|
|
|
|
|
|
|
- ./../nginx/html:/usr/share/nginx/html
|
|
|
|
- ./../nginx/html:/usr/share/nginx/html
|
|
|
|
|
|
|
|
- ./../nginx/certs:/etc/nginx/certs:ro
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- nginx-proxy
|
|
|
|
- nginx-proxy
|
|
|
@ -46,11 +45,10 @@ services:
|
|
|
|
container_name: restheart
|
|
|
|
container_name: restheart
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- mongodb
|
|
|
|
- mongodb
|
|
|
|
- unboundedpress
|
|
|
|
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- VIRTUAL_HOST=restheart.unboundedpress.org
|
|
|
|
- VIRTUAL_HOST=restheart.unboundedpress.org
|
|
|
|
- VIRTUAL_PORT=8080
|
|
|
|
- VIRTUAL_PORT=8080
|
|
|
|
- LETSENCRYPT_HOST=restheart.unboundedpress.org
|
|
|
|
- LETSENCRYPT_HOST=unboundedpress.org,www.unboundedpress.org,restheart.unboundedpress.org,gitea.unboundedpress.org,nextcloud.unboundedpress.org
|
|
|
|
- LETSENCRYPT_EMAIL=mwinter@unboundedpress.org
|
|
|
|
- LETSENCRYPT_EMAIL=mwinter@unboundedpress.org
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
- "8080:8080"
|
|
|
@ -62,7 +60,7 @@ services:
|
|
|
|
image: mongo:3.6
|
|
|
|
image: mongo:3.6
|
|
|
|
container_name: mongo
|
|
|
|
container_name: mongo
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: username
|
|
|
|
MONGO_INITDB_ROOT_USERNAME: mwinter
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: password
|
|
|
|
MONGO_INITDB_ROOT_PASSWORD: password
|
|
|
|
command: --bind_ip_all --auth
|
|
|
|
command: --bind_ip_all --auth
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
@ -82,12 +80,12 @@ services:
|
|
|
|
- DB_TYPE=mysql
|
|
|
|
- DB_TYPE=mysql
|
|
|
|
- DB_HOST=mariadb:3306
|
|
|
|
- DB_HOST=mariadb:3306
|
|
|
|
- DB_NAME=gitea
|
|
|
|
- DB_NAME=gitea
|
|
|
|
- DB_USER=username
|
|
|
|
- DB_USER=mwinter
|
|
|
|
- DB_PASSWD=password
|
|
|
|
- DB_PASSWD=password
|
|
|
|
- HTTP_PORT=4000
|
|
|
|
- HTTP_PORT=4000
|
|
|
|
- VIRTUAL_HOST=gitea.unboundedpress.org
|
|
|
|
- VIRTUAL_HOST=gitea.unboundedpress.org
|
|
|
|
- VIRTUAL_PORT=4000
|
|
|
|
- VIRTUAL_PORT=4000
|
|
|
|
- LETSENCRYPT_HOST=gitea.unboundedpress.org
|
|
|
|
- LETSENCRYPT_HOST=unboundedpress.org,www.unboundedpress.org,restheart.unboundedpress.org,gitea.unboundedpress.org,nextcloud.unboundedpress.org
|
|
|
|
- LETSENCRYPT_EMAIL=mwinter@unboundedpress.org
|
|
|
|
- LETSENCRYPT_EMAIL=mwinter@unboundedpress.org
|
|
|
|
- LFS_START_SERVER=true
|
|
|
|
- LFS_START_SERVER=true
|
|
|
|
- DISABLE_REGISTRATION=true
|
|
|
|
- DISABLE_REGISTRATION=true
|
|
|
@ -106,8 +104,6 @@ services:
|
|
|
|
image: mariadb:10.1.40
|
|
|
|
image: mariadb:10.1.40
|
|
|
|
container_name: mariadb
|
|
|
|
container_name: mariadb
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
#depends_on:
|
|
|
|
|
|
|
|
# - unboundedpress
|
|
|
|
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=password
|
|
|
|
- MYSQL_ROOT_PASSWORD=password
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
@ -119,8 +115,8 @@ services:
|
|
|
|
build: .
|
|
|
|
build: .
|
|
|
|
container_name: unboundedpress
|
|
|
|
container_name: unboundedpress
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- VIRTUAL_HOST=www.unboundedpress.org
|
|
|
|
- VIRTUAL_HOST=www.unboundedpress.org,unboundedpress.org
|
|
|
|
- LETSENCRYPT_HOST=www.unboundedpress.org
|
|
|
|
- LETSENCRYPT_HOST=unboundedpress.org,www.unboundedpress.org,restheart.unboundedpress.org,gitea.unboundedpress.org,nextcloud.unboundedpress.org
|
|
|
|
- LETSENCRYPT_EMAIL=mwinter@unboundedpress.org
|
|
|
|
- LETSENCRYPT_EMAIL=mwinter@unboundedpress.org
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- ./:/usr/src/unboundedpress
|
|
|
|
- ./:/usr/src/unboundedpress
|
|
|
@ -129,6 +125,7 @@ services:
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- mongodb
|
|
|
|
- mongodb
|
|
|
|
|
|
|
|
- restheart
|
|
|
|
|
|
|
|
|
|
|
|
nextcloud:
|
|
|
|
nextcloud:
|
|
|
|
image: nextcloud:stable-apache
|
|
|
|
image: nextcloud:stable-apache
|
|
|
@ -138,15 +135,15 @@ services:
|
|
|
|
- ./../nextcloud:/var/www/html
|
|
|
|
- ./../nextcloud:/var/www/html
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- MYSQL_DATABASE=nextcloud
|
|
|
|
- MYSQL_DATABASE=nextcloud
|
|
|
|
- MYSQL_USER=username
|
|
|
|
- MYSQL_USER=mwinter
|
|
|
|
- MYSQL_PASSWORD=password
|
|
|
|
- MYSQL_PASSWORD=password
|
|
|
|
- MYSQL_HOST=mariadb
|
|
|
|
- MYSQL_HOST=mariadb
|
|
|
|
- NEXTCLOUD_ADMIN_USER=username
|
|
|
|
- NEXTCLOUD_ADMIN_USER=mwinter
|
|
|
|
- NEXTCLOUD_ADMIN_PASSWORD=password
|
|
|
|
- NEXTCLOUD_ADMIN_PASSWORD=password
|
|
|
|
- NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.unboundedpress.org
|
|
|
|
- NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.unboundedpress.org
|
|
|
|
- REDIS_HOST=redis
|
|
|
|
- REDIS_HOST=redis
|
|
|
|
- VIRTUAL_HOST=nextcloud.unboundedpress.org
|
|
|
|
- VIRTUAL_HOST=nextcloud.unboundedpress.org
|
|
|
|
- LETSENCRYPT_HOST=nextcloud.unboundedpress.org
|
|
|
|
- LETSENCRYPT_HOST=unboundedpress.org,www.unboundedpress.org,restheart.unboundedpress.org,gitea.unboundedpress.org,nextcloud.unboundedpress.org
|
|
|
|
- LETSENCRYPT_EMAIL=mwinter@unboundedpress.org
|
|
|
|
- LETSENCRYPT_EMAIL=mwinter@unboundedpress.org
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
- mariadb
|
|
|
@ -182,5 +179,3 @@ services:
|
|
|
|
image: redis:5.0.5-alpine
|
|
|
|
image: redis:5.0.5-alpine
|
|
|
|
container_name: redis
|
|
|
|
container_name: redis
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
#volumes:
|
|
|
|
|
|
|
|
# - ./../nextcloud/redis:/data
|
|
|
|
|
|
|
|