Browse Source

Made app specific guides more consistent

pull/4/head
Tai 5 years ago
parent
commit
f8071aaa63
  1. 14
      mumble/README.md
  2. 2
      pureftpd/README.md
  3. 10
      seafile/.env
  4. 2
      seafile/README.md
  5. 40
      seafile/docker-compose.yml
  6. 6
      wordpress/README.md

14
mumble/README.md

@ -28,18 +28,18 @@ MUMBLE_PASS=sampleRootPassword
version: '3.3' version: '3.3'
services: services:
mumble: mumble:
image: phlak/mumble
restart: unless-stopped
container_name: mumble-server
environment:
- SUPERUSER_PASSWORD=${MUMBLE_PASS}
- TZ=America/Los_Angeles
ports: ports:
- 64738:64738 - 64738:64738
- 64738:64738/udp - 64738:64738/udp
volumes: volumes:
- ./mumble-data:/etc/mumble - ./mumble-data:/etc/mumble
container_name: mumble-server
image: phlak/mumble
environment:
- SUPERUSER_PASSWORD=${MUMBLE_PASS}
- TZ=America/Los_Angeles
restart: unless-stopped
networks: networks:
default: default:
external: external:

2
pureftpd/README.md

@ -9,7 +9,7 @@
``` ```
### Notes ### Notes
Make sure port 521 is open on your firewall. Do not use Caddy for this. Just `docker-compose up -d` when you are done. Make sure port 521 is open on your firewall or ufw. Do not use Caddy for this. Just `docker-compose up -d` when you are done.
Connect to the ftp server with your IP:521 and the USERNAME + PASS set in .env. Connect to the ftp server with your IP:521 and the USERNAME + PASS set in .env.

10
seafile/.env

@ -1,10 +0,0 @@
# General
MY_DOMAIN=example.com
DOCKER_MY_NETWORK=caddy_net
# Seafile Specific
MYSQL_ROOT_PASSWORD=examplepassword
SEAFILE_ADMIN_EMAIL=youremail # Specifies Seafile admin user. This is also your username
SEAFILE_ADMIN_PASSWORD=examplepass # Specifies Seafile admin password.
SEAFILE_HOSTNAME=subdomain.example.com

2
seafile/README.md

@ -20,7 +20,6 @@ subdomain.example.com {
## .env ## .env
set your environment variables set your environment variables
https://github.com/StarWhiz/docker_deployment_notes/blob/master/seafile/.env
``` ```
# General # General
MY_DOMAIN=example.com MY_DOMAIN=example.com
@ -34,7 +33,6 @@ SEAFILE_HOSTNAME=subdomain.example.com
``` ```
## docker-compose.yml ## docker-compose.yml
https://github.com/StarWhiz/docker_deployment_notes/blob/master/seafile/docker-compose.yml
``` ```
version: '2.0' version: '2.0'
services: services:

40
seafile/docker-compose.yml

@ -1,40 +0,0 @@
version: '2.0'
services:
seafile-db:
image: mariadb:10.1
container_name: seafile-db
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} # Requested, set the root's password of MySQL service.
- MYSQL_LOG_CONSOLE=true
volumes:
- ~/docker/seafile/seafile-mysql/db:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store.
memcached:
image: memcached:1.5.6
container_name: seafile-memcached
restart: unless-stopped
entrypoint: memcached -m 256
seafile:
image: seafileltd/seafile-mc:latest
container_name: seafile
restart: unless-stopped
volumes:
- ~/docker/seafile/seafile-data:/shared # Requested, specifies the path to Seafile data persistent store.
environment:
- DB_HOST=seafile-db
- DB_ROOT_PASSWD=${MYSQL_ROOT_PASSWORD} # Requested, the value shuold be root's password of MySQL service.
- TIME_ZONE=Etc/UTC # Optional, default is UTC. Should be uncomment and set to your local time zone.
- SEAFILE_ADMIN_EMAIL=${SEAFILE_ADMIN_EMAIL} # Specifies Seafile admin user, default is 'me@example.com'.
- SEAFILE_ADMIN_PASSWORD=${SEAFILE_ADMIN_PASSWORD} # Specifies Seafile admin password, default is 'asecret'.
- SEAFILE_SERVER_LETSENCRYPT=false # Whether to use https or not.
- SEAFILE_SERVER_HOSTNAME=${SEAFILE_HOSTNAME} # Specifies your host name if https is enabled.
depends_on:
- seafile-db
- memcached
networks:
default:
external:
name: caddy_net

6
wordpress/README.md

@ -95,15 +95,15 @@ Simple... Just repeat with the following changes. Below is an example for a new
├── uploads.ini ├── uploads.ini
``` ```
First you duplicate .env and uploads.ini inside the new directory wordpress2, but then you modify the docker-compose.yml. First you duplicate .env and uploads.ini inside the new directory wordpress2, but then you modify the docker-compose.yml.
Modify 3 areas in docker-compose.yml from "wordpress" to "wordpress2" Modify 5 areas in docker-compose.yml from "wordpress" to "wordpress2"
``` ```
wordpress: wordpress2:
... ...
container_name: wordpress2 container_name: wordpress2
environment: environment:
WORDPRESS_DB_HOST: wordpress2-db WORDPRESS_DB_HOST: wordpress2-db
... ...
wordpress-db: wordpress2-db:
... ...
container_name: wordpress2-db container_name: wordpress2-db
... ...

Loading…
Cancel
Save