merge ipa-server and ios-ipa-server, thanks for @iineva and @bumaociyuan
support https.
Don't use this in production env!
$ git clone https://github.com/iineva/ipa-server
$ cd ipa-server
$ docker-compose up -d
Open <http://<HOST_NAME>:9008> in your browser.
-
This server is not included SSL certificate. It must run behide the reverse proxy with HTTPS.
-
There is a simple way to setup a HTTPS with replace
docker-compose.yml
file:
# ***** Replace ALL <YOUR_DOMAIN> to you really domain *****
version: "2"
services:
web:
image: ineva/ipa-server:latest
container_name: ipa-server
restart: always
environment:
- NODE_ENV=production
- PUBLIC_URL=https://<YOUR_DOMAIN>
volumes:
- "/docker/data/ipa-server:/app/upload"
caddy:
image: abiosoft/caddy:0.11.5
restart: always
ports:
- "80:80"
- "443:443"
entrypoint: |
sh -c 'echo "$$CADDY_CONFIG" > /etc/Caddyfile && /usr/bin/caddy --conf /etc/Caddyfile --log stdout'
environment:
CADDY_CONFIG: |
<YOUR_DOMAIN> {
gzip
proxy / web:8080
}
# install node.js first
npm install
npm start
- now you can access https://<YOUR_DOMAIN> in your browser.
Server side:
Add ACCESS_KEY
to system environment as password.
Client side:
Browser open: https://<YOUR_DOMAIN>/key.html?key=<ACCESS_KEY>