docker-compose work

This commit is contained in:
Mike Holloway committed 2025-11-30 20:26:08 -05:00
1 parent dcefb84c05
commit de09bd9533
3 files changed
+26 -16

No files matched your search

+23 -13
View File
@@ -2,22 +2,32 @@ version: '3.6'
services:
step:
image: smallstep/step-ca:latest
environment:
DOCKER_STEPCA_INIT_NAME: "test-eqit"
DOCKER_STEPCA_INIT_DNS_NAMES: "test-eqit.lan"
DOCKER_STEPCA_INIT_ACME: "true"
DOCKER_STEPCA_INIT_REMOTE_MANAGEMENT: "false"
DOCKER_STEPCA_INIT_PASSWORD_FILE: "/home/step/.stepca.secret"
nextcloud:
image: nextcloud:stable-fpm
restart: always
ports:
- 9000:9000
env:
- VIRTUAL_PROTO: "http"
- VIRTUAL_HOST: "{{ inventory_hostname | default('ansible_undefined_fact') }}"
- LETSENCRYPT_HOST: "{{ inventory_hostname | default('ansible_undefined_fact') }}"
networks:
default:
aliases:
- "test-eqit.lan"
volumes:
- ~/stepca/data:/home/step
restart: always
# env_file: ".env"
- ~/webroot:/var/www/html
#volumes:
# acme:
nginx-proxy:
restart: unless-stopped
ports:
- 8080:8080
- 8443:8443
image: nginxproxy/nginx-proxy:1.9-alpine
environment:
HTTP_PORT: 8080
HTTPS_PORT: 8443
volumes:
- /run/user/1000/podman/podman.sock:/tmp/docker.sock:ro
- /home/nextcloud/nginx/certs:/etc/nginx/certs
- /home/nextcloud/nginx/challenges:/usr/share/nginx/html