services/website/run.sh

13 lines
444 B
Bash
Executable File

#!/bin/bash
docker run --rm \
--name website \
--network unitservices \
--volume /var/unit/website/source:/usr/local/app/source \
--volume /opt/nginx/unit.abbiamoundominio.org:/usr/local/app/output \
--add-host git.abbiamoundominio.org:192.168.122.2 \
unit/website
# XXX: the --add-host was added because the container could not resolve the domain of the gitserver
# TODO: what do we change 192.168.122.2 to, when Amelia is gone?