Merge branch 'fix-restart-policy' into 'master'
Fix restart policy See merge request isard/isard-apps!20
commit
bef6958ffb
|
@ -6,7 +6,7 @@ services:
|
||||||
context: ${BUILD_ROOT_PATH}/docker/etherpad
|
context: ${BUILD_ROOT_PATH}/docker/etherpad
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: isard-apps-etherpad
|
container_name: isard-apps-etherpad
|
||||||
restart: on-failure:10
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
# ports:
|
# ports:
|
||||||
|
|
|
@ -5,7 +5,7 @@ services:
|
||||||
jitsi:
|
jitsi:
|
||||||
container_name: jitsi
|
container_name: jitsi
|
||||||
image: jitsi/web:latest
|
image: jitsi/web:latest
|
||||||
restart: ${RESTART_POLICY}
|
restart: unless-stopped
|
||||||
# ports:
|
# ports:
|
||||||
# - '${HTTP_PORT}:80'
|
# - '${HTTP_PORT}:80'
|
||||||
# - '${HTTPS_PORT}:443'
|
# - '${HTTPS_PORT}:443'
|
||||||
|
|
|
@ -20,5 +20,6 @@ services:
|
||||||
MYSQL_DATABASE: wordpress
|
MYSQL_DATABASE: wordpress
|
||||||
MYSQL_USER: wordpress
|
MYSQL_USER: wordpress
|
||||||
MYSQL_PASSWORD: ${WORDPRESS_MARIADB_PASSWORD}
|
MYSQL_PASSWORD: ${WORDPRESS_MARIADB_PASSWORD}
|
||||||
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- isard_net
|
- isard_net
|
|
@ -1,8 +1,10 @@
|
||||||
ARG LANG=$LANG
|
# ARG LANG=$LANG
|
||||||
ARG LANGUAGE=$LANGUAGE
|
# ARG LANGUAGE=$LANGUAGE
|
||||||
|
#
|
||||||
ARG ARCH=
|
# ARG ARCH=
|
||||||
FROM ${ARCH}erseco/alpine-php7-webserver
|
ARG IMG=$MOODLE_IMG
|
||||||
|
FROM ${IMG}
|
||||||
|
# FROM ${ARCH}${IMG}
|
||||||
|
|
||||||
LABEL maintainer="Adapted from: Ernesto Serrano <info@ernesto.es>"
|
LABEL maintainer="Adapted from: Ernesto Serrano <info@ernesto.es>"
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ${BUILD_ROOT_PATH}/docker/moodle
|
context: ${BUILD_ROOT_PATH}/docker/moodle
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
args:
|
||||||
|
- IMG=${MOODLE_IMG}
|
||||||
container_name: isard-apps-moodle
|
container_name: isard-apps-moodle
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
FROM nextcloud:fpm-alpine
|
ARG IMG=$NEXTCLOUD_IMG
|
||||||
|
FROM ${IMG}
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
|
|
|
@ -4,6 +4,8 @@ services:
|
||||||
build:
|
build:
|
||||||
context: ${BUILD_ROOT_PATH}/docker/nextcloud
|
context: ${BUILD_ROOT_PATH}/docker/nextcloud
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
args:
|
||||||
|
- IMG=${NEXTCLOUD_IMG}
|
||||||
#target: production
|
#target: production
|
||||||
container_name: isard-apps-nextcloud-app
|
container_name: isard-apps-nextcloud-app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
|
@ -6,6 +6,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ${BUILD_ROOT_PATH}/docker/onlyoffice/local.json:/etc/onlyoffice/documentserver/local.json:ro
|
- ${BUILD_ROOT_PATH}/docker/onlyoffice/local.json:/etc/onlyoffice/documentserver/local.json:ro
|
||||||
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- isard_net
|
- isard_net
|
||||||
|
|
||||||
|
|
|
@ -6,5 +6,6 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ${DB_FOLDER}/redis:/data
|
- ${DB_FOLDER}/redis:/data
|
||||||
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- isard_net
|
- isard_net
|
|
@ -13,7 +13,7 @@ x-volumes:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
isard-apps-wordpress:
|
isard-apps-wordpress:
|
||||||
image: wordpress:latest # https://hub.docker.com/_/wordpress/
|
image: ${WORDPRESS_IMG} # https://hub.docker.com/_/wordpress/
|
||||||
container_name: isard-apps-wordpress
|
container_name: isard-apps-wordpress
|
||||||
# ports:
|
# ports:
|
||||||
# - ${IP}:80:80 # change ip if required
|
# - ${IP}:80:80 # change ip if required
|
||||||
|
@ -29,11 +29,12 @@ services:
|
||||||
- isard-apps-mariadb
|
- isard-apps-mariadb
|
||||||
links:
|
links:
|
||||||
- isard-apps-mariadb
|
- isard-apps-mariadb
|
||||||
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- isard_net
|
- isard_net
|
||||||
|
|
||||||
isard-apps-wordpress-cli:
|
isard-apps-wordpress-cli:
|
||||||
image: wordpress:cli
|
image: ${WORDPRESS_CLI_IMG}
|
||||||
container_name: isard-apps-wordpress-cli
|
container_name: isard-apps-wordpress-cli
|
||||||
volumes:
|
volumes:
|
||||||
*wordpress-volumes
|
*wordpress-volumes
|
||||||
|
|
Loading…
Reference in New Issue