Browse Source

Initial commit

Sebastian.Fisahn 2 years ago
parent
commit
2d50abcb7a

+ 10 - 1
README.md

@@ -1,2 +1,11 @@
-# docker-compose
+# compose-files
 
+### usage examples
+**specific file:**
+```
+docker-compose -f docker-compose-6-3.yml up
+```
+**standard:**
+```
+docker-compose up
+```

+ 30 - 0
compose-matomo

@@ -0,0 +1,30 @@
+version: '2'
+services:
+  matomo:
+    image: wonderfall/matomo
+    environment:
+      GID: '1000'
+      UID: '1000'
+    stdin_open: true
+    volumes:
+    - /mnt/docker/matomo/config:/config
+    tty: true
+    links:
+    - matomo-db:db_matomo
+    ports:
+    - 82:8888/tcp
+    labels:
+      io.rancher.container.pull_image: always
+  matomo-db:
+    image: mariadb:latest
+    environment:
+      MYSQL_ROOT_PASSWORD: vergessen1974
+      MYSQL_DATABASE: matomo
+      MYSQL_USER: matomo
+      MYSQL_PASSWORD: vergessen1974
+    stdin_open: true
+    volumes:
+    - /mnt/docker/matomo/db:/var/lib/mysql
+    tty: true
+    labels:
+      io.rancher.container.pull_image: always

+ 24 - 0
docker-compose-gogs.yml

@@ -0,0 +1,24 @@
+version: '2'
+services:
+  gogs:
+    image: gogs/gogs:latest
+    environment:
+      RUN_CROND: 'true'
+      SHOW_REGISTRATION_BUTTON: 'false'
+      DISABLE_REGISTRATION: 'true'
+    volumes:
+    - /gogs/gogs-data:/data
+    links:
+    - postgres:postgres
+    - postgres:postgres
+    ports:
+    - 2222:22/tcp
+    - 3000:3000/tcp
+  postgres:
+    image: postgres:9.5
+    environment:
+      POSTGRES_DB: gogs
+      POSTGRES_PASSWORD: vergessen1974
+      POSTGRES_USER: Sebastian
+    volumes:
+    - /gogs/db-data:/var/lib/postgresql/data

+ 13 - 0
docker-compose-koken.yml

@@ -0,0 +1,13 @@
+version: '2'
+services:
+  koken:
+    image: malteo/docker-koken-lemp
+    stdin_open: true
+    volumes:
+    - /mnt/koken/www:/usr/share/nginx/www
+    - /mnt/koken/mysql:/var/lib/mysql
+    tty: true
+    ports:
+    - 83:8080/tcp
+    labels:
+      io.rancher.container.pull_image: always

+ 53 - 0
docker-compose-nextcloud.yml

@@ -0,0 +1,53 @@
+version: '2'
+services:
+  nextcloud:
+    image: nexus.sebastianfisahn.com/nextcloud:13.0.0
+    environment:
+      APC_SHM_SIZE: 128M
+      CRON_PERIOD: 15m
+      DB_HOST: nextcloud-db
+      DB_NAME: nextcloud
+      DB_PASSWORD: qT2QyZGcJ6KPfnph
+      DB_TYPE: mysql
+      DB_USER: nextcloud
+      GID: '1000'
+      OPCACHE_MEM_SIZE: '128'
+      TZ: Europe/Berlin
+      UID: '1000'
+      UPLOAD_MAX_SIZE: 10G
+      DOMAIN: localhost
+    volumes:
+    - /mnt/nextcloud/data:/data
+    - /mnt/nextcloud/config:/config
+    - /mnt/nextcloud/apps:/apps2
+    - /mnt/nextcloud/themes:/nextcloud/themes
+    - /mnt/nextcloud/php-sessions:/php/session
+    domainname: nextcloud.sebastianfisahn.com
+    links:
+    - redis:redis
+    - nextcloud-db:nextcloud-db
+    ports:
+    - 8888:8888/tcp
+    labels:
+      io.rancher.container.pull_image: always
+      wonderfall: nextcloud
+  nextcloud-db:
+    mem_limit: 262144000
+    image: mariadb:10
+    environment:
+      MYSQL_DATABASE: nextcloud
+      MYSQL_PASSWORD: qT2QyZGcJ6KPfnph
+      MYSQL_ROOT_PASSWORD: qT2QyZGcJ6KPfnph
+      MYSQL_USER: nextcloud
+    volumes:
+    - /mnt/nextcloud/db:/var/lib/mysql
+    labels:
+      io.rancher.container.pull_image: always
+  redis:
+    image: redis:alpine
+    stdin_open: true
+    volumes:
+    - /mnt/nextcloud/redis:/data
+    tty: true
+    labels:
+      io.rancher.container.pull_image: always

+ 13 - 0
docker-compose-nexus.yml

@@ -0,0 +1,13 @@
+version: '2'
+services:
+  Nexus3:
+    image: sonatype/nexus3
+    stdin_open: true
+    volumes:
+    - /nexus-data:/nexus-data
+    tty: true
+    ports:
+    - 8081:8081/tcp
+    - 8082:8082/tcp
+    labels:
+      io.rancher.container.pull_image: always

+ 28 - 0
docker-compose-typo3.yml

@@ -0,0 +1,28 @@
+version: '2'
+services:
+  typo3db:
+    image: mysql:latest
+    environment:
+      MYSQL_ROOT_PASSWORD: yoursupersecretpassword
+      MYSQL_USER: typo3
+      MYSQL_PASSWORD: yourothersupersecretpassword
+      MYSQL_DATABASE: typo3
+    stdin_open: true
+    tty: true
+    command:
+    - --character-set-server=utf8
+    - --collation-server=utf8_unicode_ci
+  typo3-web:
+    privileged: true
+    image: martinhelmich/typo3:8
+    stdin_open: true
+    volumes:
+    - /typo3/fileadmin:/var/www/html/fileadmin
+    - /typo3/typo3conf:/var/www/html/typo3conf
+    - /typo3/typo3temp:/var/www/html/typo3temp
+    - /typo3/uploads:/var/www/html/uploads
+    tty: true
+    links:
+    - typo3-db:db
+    labels:
+      io.rancher.container.pull_image: always

+ 20 - 0
docker-compose-wordpress.yml

@@ -0,0 +1,20 @@
+version: '2'
+services:
+  wordpress:
+    image: wordpress
+    volumes:
+    - /home/wordpress:/var/www/html
+    links:
+    - db:mysql
+    ports:
+    - 81:80/tcp
+    labels:
+      io.rancher.container.pull_image: always
+  db:
+    image: mariadb
+    environment:
+      MYSQL_ROOT_PASSWORD: example
+    volumes:
+    - /home/wordpress/db:/var/lib/mysql
+    labels:
+      io.rancher.container.pull_image: always

+ 25 - 0
docker-compose_aem-6.1.yml

@@ -0,0 +1,25 @@
+version: '3'
+services:
+  dispatcher-publish-ssl:
+    image: nexus.sebastianfisahn.com/dispatcher-publish:2.4-debian
+    stdin_open: true
+    tty: true
+    ports:
+      - "80:80"
+      - "443:443"
+    links:
+    - aem-publish-alpine:aem
+  aem-publish-alpine:
+    image: nexus.sebastianfisahn.com/aem-publish-alpine:6.1
+    stdin_open: true
+    tty: true
+    ports:
+      - "4503:4503"
+  aem-author-alpine:
+    image: nexus.sebastianfisahn.com/aem-author-alpine:6.1
+    stdin_open: true
+    tty: true
+    ports:
+      - "4502:4502"
+    links:
+    - aem-publish-alpine:publish

+ 25 - 0
docker-compose_aem-6.3-aws.yml

@@ -0,0 +1,25 @@
+version: '3'
+services:
+  dispatcher-publish-nonssl:
+    image: nexus.sebastianfisahn.com/aem-dispatcher-publisher:latest
+    stdin_open: true
+    tty: true
+    ports:
+      - "80:80"
+      - "443:443"
+    links:
+    - aem-publisher:aem-publisher
+  aem-publisher:
+    image: nexus.sebastianfisahn.com/aem-publisher:v6.3
+    stdin_open: true
+    tty: true
+    ports:
+      - "4503:4503"
+  aem-author:
+    image: nexus.sebastianfisahn.com/aem-author:v6.3
+    stdin_open: true
+    tty: true
+    ports:
+      - "4502:4502"
+    links:
+    - aem-publisher:aem-publisher

+ 24 - 0
docker-compose_aem-6.3.yml

@@ -0,0 +1,24 @@
+version: '3'
+services:
+  aem-dispatcher-publisher-ssl:
+    image: nexus.sebastianfisahn.com/aem-dispatcher-publisher:ssl
+    tty: true
+    ports:
+      - "80:80"
+      - "443:443"
+    links:
+    - aem-publisher:aem-publisher
+  aem-publisher:
+    image: nexus.sebastianfisahn.com/aem-publisher:v6.3
+    stdin_open: true
+    tty: true
+    ports:
+      - "4503:4503"
+  aem-author:
+    image: nexus.sebastianfisahn.com/aem-author:v6.3
+    stdin_open: true
+    tty: true
+    ports:
+      - "4502:4502"
+    links:
+    - aem-publisher:aem-publisher

+ 25 - 0
docker-compose_aem-alpine.yml

@@ -0,0 +1,25 @@
+version: '3'
+services:
+  dispatcher-publish-ssl:
+    image: nexus.sebastianfisahn.com/dispatcher-publish:alpine
+    stdin_open: true
+    tty: true
+    ports:
+      - "80:80"
+      - "443:443"
+    links:
+    - aem-publish-alpine:aem
+  aem-publish-alpine:
+    image: nexus.sebastianfisahn.com/aem-publish-alpine:6.3
+    stdin_open: true
+    tty: true
+    ports:
+      - "4503:4503"
+  aem-author-alpine:
+    image: nexus.sebastianfisahn.com/aem-author-alpine:6.3
+    stdin_open: true
+    tty: true
+    ports:
+      - "4502:4502"
+    links:
+    - aem-publish-alpine:publish