mirror of
https://github.com/akpall/akpella.git
synced 2026-02-21 16:47:00 +00:00
config.yaml: replace docker with podman
This commit is contained in:
8
files/etc/containers/policy.json
Normal file
8
files/etc/containers/policy.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"default": [{"type": "reject"}],
|
||||
"transports": {
|
||||
"docker": {
|
||||
"docker.io/library/caddy": [{"type": "insecureAcceptAnything"}]
|
||||
}
|
||||
}
|
||||
}
|
||||
13
files/etc/containers/systemd/caddy.container
Normal file
13
files/etc/containers/systemd/caddy.container
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Caddy 2 is a powerful, enterprise-ready, open source web server with automatic HTTPS written in Go.
|
||||
|
||||
[Container]
|
||||
Image=docker.io/library/caddy:latest
|
||||
PublishPort=443:443
|
||||
PublishPort=80:80
|
||||
Volume=/opt/caddy/data:/data
|
||||
Volume=/opt/caddy/etc/caddy:/etc/caddy
|
||||
Volume=/opt/caddy/var/www/html:/var/www/html
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,2 +1,37 @@
|
||||
127.0.0.1 localhost akpella.fst.ee
|
||||
::1 localhost akpella.fst.ee
|
||||
# /etc/hosts: Local Host Database
|
||||
#
|
||||
# This file describes a number of aliases-to-address mappings for the for
|
||||
# local hosts that share this file.
|
||||
#
|
||||
# The format of lines in this file is:
|
||||
#
|
||||
# IP_ADDRESS canonical_hostname [aliases...]
|
||||
#
|
||||
#The fields can be separated by any number of spaces or tabs.
|
||||
#
|
||||
# In the presence of the domain name service or NIS, this file may not be
|
||||
# consulted at all; see /etc/host.conf for the resolution order.
|
||||
#
|
||||
|
||||
# IPv4 and IPv6 localhost aliases
|
||||
127.0.0.1 localhost akpella.fst.ee
|
||||
::1 localhost akpella.fst.ee
|
||||
|
||||
#
|
||||
# Imaginary network.
|
||||
#10.0.0.2 myname
|
||||
#10.0.0.3 myfriend
|
||||
#
|
||||
# According to RFC 1918, you can use the following IP networks for private
|
||||
# nets which will never be connected to the Internet:
|
||||
#
|
||||
# 10.0.0.0 - 10.255.255.255
|
||||
# 172.16.0.0 - 172.31.255.255
|
||||
# 192.168.0.0 - 192.168.255.255
|
||||
#
|
||||
# In case you want to be able to connect directly to the Internet (i.e. not
|
||||
# behind a NAT, ADSL router, etc...), you need real official assigned
|
||||
# numbers. Do not try to invent your own network numbers but instead get one
|
||||
# from your network provider (if any) or from your regional registry (ARIN,
|
||||
# APNIC, LACNIC, RIPE NCC, or AfriNIC.)
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user