Move docker-compose configuration in dedicated directory
parent
479d7ddc09
commit
02293536f3
|
@ -11,8 +11,8 @@ services:
|
||||||
- SLAPD_ADDITIONAL_SCHEMAS=openldap
|
- SLAPD_ADDITIONAL_SCHEMAS=openldap
|
||||||
- SLAPD_FORCE_RECONFIGURE=true
|
- SLAPD_FORCE_RECONFIGURE=true
|
||||||
volumes:
|
volumes:
|
||||||
- ./example/ldap/base.ldif:/etc/ldap.dist/prepopulate/base.ldif
|
- ./example/compose/ldap/base.ldif:/etc/ldap.dist/prepopulate/base.ldif
|
||||||
- ./example/ldap/access.rules:/etc/ldap.dist/prepopulate/access.rules
|
- ./example/compose/ldap/access.rules:/etc/ldap.dist/prepopulate/access.rules
|
||||||
networks:
|
networks:
|
||||||
- example-network
|
- example-network
|
||||||
|
|
|
@ -3,6 +3,6 @@ services:
|
||||||
nginx-authelia:
|
nginx-authelia:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./example/nginx/authelia/nginx.conf:/etc/nginx/nginx.conf
|
- ./example/compose/nginx/authelia/nginx.conf:/etc/nginx/nginx.conf
|
||||||
networks:
|
networks:
|
||||||
- example-network
|
- example-network
|
|
@ -0,0 +1,9 @@
|
||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
nginx-backend:
|
||||||
|
image: nginx:alpine
|
||||||
|
volumes:
|
||||||
|
- ./example/compose/nginx/backend/html:/usr/share/nginx/html
|
||||||
|
- ./example/compose/nginx/backend/nginx.conf:/etc/nginx/nginx.conf
|
||||||
|
networks:
|
||||||
|
- example-network
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
@ -3,8 +3,8 @@ services:
|
||||||
nginx-portal:
|
nginx-portal:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
volumes:
|
volumes:
|
||||||
- ./example/nginx/portal/nginx.conf:/etc/nginx/nginx.conf
|
- ./example/compose/nginx/portal/nginx.conf:/etc/nginx/nginx.conf
|
||||||
- ./example/nginx/portal/ssl:/etc/ssl
|
- ./example/compose/nginx/portal/ssl:/etc/ssl
|
||||||
ports:
|
ports:
|
||||||
- "8080:443"
|
- "8080:443"
|
||||||
networks:
|
networks:
|
|
@ -1,9 +0,0 @@
|
||||||
version: '2'
|
|
||||||
services:
|
|
||||||
nginx-backend:
|
|
||||||
image: nginx:alpine
|
|
||||||
volumes:
|
|
||||||
- ./example/nginx/backend/html:/usr/share/nginx/html
|
|
||||||
- ./example/nginx/backend/nginx.conf:/etc/nginx/nginx.conf
|
|
||||||
networks:
|
|
||||||
- example-network
|
|
|
@ -4,14 +4,14 @@ set -e
|
||||||
|
|
||||||
docker-compose \
|
docker-compose \
|
||||||
-f docker-compose.yml \
|
-f docker-compose.yml \
|
||||||
-f example/docker-compose.base.yml \
|
-f example/compose/docker-compose.base.yml \
|
||||||
-f example/authelia/docker-compose.dev.yml \
|
-f example/compose/authelia/docker-compose.dev.yml \
|
||||||
-f example/mongo/docker-compose.yml \
|
-f example/compose/mongo/docker-compose.yml \
|
||||||
-f example/redis/docker-compose.yml \
|
-f example/compose/redis/docker-compose.yml \
|
||||||
-f example/nginx/authelia/docker-compose.yml \
|
-f example/compose/nginx/authelia/docker-compose.yml \
|
||||||
-f example/nginx/backend/docker-compose.yml \
|
-f example/compose/nginx/backend/docker-compose.yml \
|
||||||
-f example/nginx/portal/docker-compose.yml \
|
-f example/compose/nginx/portal/docker-compose.yml \
|
||||||
-f example/smtp/docker-compose.yml \
|
-f example/compose/smtp/docker-compose.yml \
|
||||||
-f example/httpbin/docker-compose.yml \
|
-f example/compose/httpbin/docker-compose.yml \
|
||||||
-f example/ldap/docker-compose.admin.yml \
|
-f example/compose/ldap/docker-compose.admin.yml \
|
||||||
-f example/ldap/docker-compose.yml $*
|
-f example/compose/ldap/docker-compose.yml $*
|
||||||
|
|
|
@ -4,12 +4,12 @@ set -e
|
||||||
|
|
||||||
docker-compose \
|
docker-compose \
|
||||||
-f docker-compose.yml \
|
-f docker-compose.yml \
|
||||||
-f example/docker-compose.base.yml \
|
-f example/compose/docker-compose.base.yml \
|
||||||
-f example/mongo/docker-compose.yml \
|
-f example/compose/mongo/docker-compose.yml \
|
||||||
-f example/redis/docker-compose.yml \
|
-f example/compose/redis/docker-compose.yml \
|
||||||
-f example/nginx/authelia/docker-compose.yml \
|
-f example/compose/nginx/authelia/docker-compose.yml \
|
||||||
-f example/nginx/backend/docker-compose.yml \
|
-f example/compose/nginx/backend/docker-compose.yml \
|
||||||
-f example/nginx/portal/docker-compose.yml \
|
-f example/compose/nginx/portal/docker-compose.yml \
|
||||||
-f example/smtp/docker-compose.yml \
|
-f example/compose/smtp/docker-compose.yml \
|
||||||
-f example/httpbin/docker-compose.yml \
|
-f example/compose/httpbin/docker-compose.yml \
|
||||||
-f example/ldap/docker-compose.yml $*
|
-f example/compose/ldap/docker-compose.yml $*
|
||||||
|
|
|
@ -4,12 +4,12 @@ set -e
|
||||||
|
|
||||||
docker-compose \
|
docker-compose \
|
||||||
-f docker-compose.dockerhub.yml \
|
-f docker-compose.dockerhub.yml \
|
||||||
-f example/docker-compose.base.yml \
|
-f example/compose/docker-compose.base.yml \
|
||||||
-f example/mongo/docker-compose.yml \
|
-f example/compose/mongo/docker-compose.yml \
|
||||||
-f example/redis/docker-compose.yml \
|
-f example/compose/redis/docker-compose.yml \
|
||||||
-f example/nginx/authelia/docker-compose.yml \
|
-f example/compose/nginx/authelia/docker-compose.yml \
|
||||||
-f example/nginx/backend/docker-compose.yml \
|
-f example/compose/nginx/backend/docker-compose.yml \
|
||||||
-f example/nginx/portal/docker-compose.yml \
|
-f example/compose/nginx/portal/docker-compose.yml \
|
||||||
-f example/smtp/docker-compose.yml \
|
-f example/compose/smtp/docker-compose.yml \
|
||||||
-f example/httpbin/docker-compose.yml \
|
-f example/compose/httpbin/docker-compose.yml \
|
||||||
-f example/ldap/docker-compose.yml $*
|
-f example/compose/ldap/docker-compose.yml $*
|
||||||
|
|
Loading…
Reference in New Issue