mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 20:39:40 +01:00
optimized snipe-it draf
This commit is contained in:
parent
df44ea524c
commit
8083e2b51c
@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
## more
|
## more
|
||||||
https://github.com/snipe/snipe-it
|
- https://github.com/snipe/snipe-it
|
||||||
https://snipeitapp.com/
|
- https://snipeitapp.com/
|
||||||
|
- https://snipe-it.readme.io/docs/ldap-sync-login
|
@ -5,15 +5,13 @@ services:
|
|||||||
{% include 'roles/docker-central-database/templates/services/' + database_type + '.yml.j2' %}
|
{% include 'roles/docker-central-database/templates/services/' + database_type + '.yml.j2' %}
|
||||||
|
|
||||||
application:
|
application:
|
||||||
image: snipe/snipe-it:${APP_VERSION}
|
image: snipe/snipe-it:{{applications.snipe_it.version}}
|
||||||
restart: {{docker_restart_policy}}
|
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
|
||||||
volumes:
|
volumes:
|
||||||
- data:/var/lib/snipeit
|
- data:/var/lib/snipeit
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT}:80"
|
- "127.0.0.1:{{ports.localhost.http_ports.snipe_it}}:80"
|
||||||
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
||||||
env_file:
|
|
||||||
- .env # Will also be read, without explicit declaring it here
|
|
||||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||||
|
|
||||||
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
# --------------------------------------------
|
|
||||||
# REQUIRED: DOCKER SPECIFIC SETTINGS
|
|
||||||
# --------------------------------------------
|
|
||||||
APP_VERSION={{applications.snipe_it.version}}
|
|
||||||
APP_PORT={{ports.localhost.http_ports.snipe_it}}
|
|
||||||
|
|
||||||
# --------------------------------------------
|
# --------------------------------------------
|
||||||
# REQUIRED: BASIC APP SETTINGS
|
# REQUIRED: BASIC APP SETTINGS
|
||||||
# --------------------------------------------
|
# --------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user