See this issue.
Docker best practise to Control and configure Docker with systemd.
-
Create
daemon.json
file in/etc/docker
:{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
See this issue.
Docker best practise to Control and configure Docker with systemd.
Create daemon.json
file in /etc/docker
:
{"hosts": ["tcp://0.0.0.0:2375", "unix:///var/run/docker.sock"]}
FROM php:8.0.2-fpm | |
LABEL maintainer="Ricardo Coelho <[email protected]>" | |
RUN apt-get update \ | |
&& apt-get install --no-install-recommends -y \ | |
git \ | |
sudo \ | |
libpq-dev \ | |
libicu-dev \ | |
libcurl4-openssl-dev \ |
networks: | |
proxy: | |
external: true | |
services: | |
proxy: | |
image: traefik:2.9.1 | |
command: | |
- --api.insecure=true | |
- --api.dashboard=true | |
- --api.debug=true |
services: | |
authentik: | |
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2022.10.1} | |
restart: unless-stopped | |
command: server | |
environment: | |
AUTHENTIK_REDIS__HOST: redis | |
AUTHENTIK_POSTGRESQL__HOST: postgresql | |
AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik} | |
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik} |