feat: snipeit
This commit is contained in:
parent
ca7fb59460
commit
b251cc9894
3 changed files with 45 additions and 1 deletions
|
@ -0,0 +1,11 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name snipe.ixvd.net;
|
||||
|
||||
# SSL is managed by certbot, no need for a ssl listen; it will be generated automagically!
|
||||
|
||||
# default html page
|
||||
location / {
|
||||
proxy_pass http://snipeit;
|
||||
}
|
||||
}
|
33
servers/apoc/docker-compose.d/docker-compose.snipeit.yml
Normal file
33
servers/apoc/docker-compose.d/docker-compose.snipeit.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
# I'm very comfortable in this version, therefore it's the standard
|
||||
version: '2.2'
|
||||
|
||||
services:
|
||||
snipeit:
|
||||
image: snipe/snipe-it
|
||||
links:
|
||||
- snipeit-db:mysql
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: "root"
|
||||
MYSQL_DATABASE: "snipeit"
|
||||
MYSQL_USER: "snipeit"
|
||||
MYSQL_PASSWORD: "snipeit"
|
||||
APP_URL: "https://snipe.ixvd.net"
|
||||
APP_TIMEZONE: "Europe/Amsterdam"
|
||||
APP_LOCALE: "en"
|
||||
APP_ENV: "production"
|
||||
APP_DEBUG: "false"
|
||||
PHP_UPLOAD_LIMIT: "100"
|
||||
env_file:
|
||||
- /etc/ixvd/secrets/env/snipeit.env
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
snipeit-db:
|
||||
image: mysql:5.6
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: "root"
|
||||
MYSQL_DATABASE: "snipeit"
|
||||
MYSQL_USER: "snipeit"
|
||||
MYSQL_PASSWORD: "snipeit"
|
||||
volumes:
|
||||
- /srv/snipeit/other/db:/var/lib/mysql
|
|
@ -7,7 +7,7 @@ services:
|
|||
build: custom/nginx
|
||||
environment:
|
||||
CERTBOT_EMAIL: "webmaster@ixvd.net"
|
||||
CERTBOT_DOMAINS: "apoc.ixvd.net,mail.ixvd.net,git.ixvd.net,my.ixvd.net,ci.ixvd.net,baikal.ixvd.net,pg.ixvd.net"
|
||||
CERTBOT_DOMAINS: "apoc.ixvd.net,mail.ixvd.net,git.ixvd.net,my.ixvd.net,ci.ixvd.net,baikal.ixvd.net,pg.ixvd.net,snipe.ixvd.net"
|
||||
volumes:
|
||||
- /srv/certbot/data:/etc/letsencrypt
|
||||
- /srv/certbot/other/www:/var/www/certbot
|
||||
|
|
Loading…
Reference in a new issue