This commit is contained in:
Michael Traeger 2019-03-28 16:38:12 +01:00
parent afa7910e8a
commit c86a0391aa
8 changed files with 70 additions and 2 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
__pycache__/
updates.json

View File

@ -4,6 +4,7 @@ services:
image: docker.clkl.de/docker/update:0.1_alpine
build: .
volumes:
- /opt/docker/services:/services
# - /opt/docker/services:/services
- ./sample:/services
- ./:/out/
command: bash -c 'python3 /out/show_updateable.py -s -o /out/updates.json /services/* --ignore zammad'

View File

@ -2,7 +2,7 @@ version: "2"
services:
http:
image: httpd:alpine
image: httpd:2.4.32-alpine
# ports:
# - "80:80"
volumes:
@ -17,3 +17,4 @@ networks:
traefik_net:
external:
name: traefik_net

View File

@ -0,0 +1,35 @@
version: '2'
services:
cloud:
image: nextcloud:14.0.8-apache
# image: owncloud/server:10.0.8
restart: on-failure:5
depends_on:
- dbcloud
volumes:
- ./data:/files
- ./config:/var/www/html/config
- ./apps:/var/www/html/custom_apps
ports:
- "127.0.0.1:3020:80"
dbcloud:
image: mariadb:10.3.2
restart: on-failure:5
env_file:
- docker.env
environment:
# - MYSQL_ROOT_PASSWORD=VerySecurePassword
# - MYSQL_USER=cloud
# - MYSQL_PASSWORD=CorrectBatteryHorseStaple
# - MYSQL_DATABASE=cloud
- MYSQL_MAX_ALLOWED_PACKET=128M
- MYSQL_INNODB_LOG_FILE_SIZE=64M
- MYSQL_INNODB_LARGE_PREFIX=ON
- MYSQL_INNODB_FILE_FORMAT=Barracuda
volumes:
- ./mysql:/var/lib/mysql

View File

View File

@ -0,0 +1,22 @@
version: "3"
services:
someservice:
build:
context: ./docker/
dockerfile: Dockerfile
ports:
- "8080:80"
restart: on-failure:5
depends_on:
- dbsomeservice
dbsomeservice:
image: mariadb:10.3.2
restart: on-failure:5
env_file:
- docker.env
volumes:
- ./mysql:/var/lib/mysql

View File

View File

@ -0,0 +1,7 @@
FROM alpine:3.6
EXPOSE 80
RUN apk add --update python3 python3-dev git g++ nodejs-npm mariadb-dev mariadb-client-libs openldap-dev \
&& apk del nodejs-npm mariadb-dev git g++ python3-dev