Closed ariadi closed 1 month ago
Here my docker-compose.yaml
services: ###### External Nginx for Gitlab Instance ###### swag: image: lscr.io/linuxserver/swag:latest container_name: swag restart: unless-stopped cap_add: - NET_ADMIN ports: - 443:443 - 80:80 volumes: - ./swag/config:/config environment: - PUID=1000 - PGID=1000 - TZ=Asia/Jakarta - URL=example.com - SUBDOMAINS=gitlab,registry - ONLY_SUBDOMAINS=true - VALIDATION=http - EMAIL=me@example.com - STAGING=false
I run docker compose up -d swag and
docker compose up -d swag
docker logs -f swag to get logs as below
docker logs -f swag
The log says that Certbot will create two subdomains namely: gitlab.example.com and registry.example.com
but actually it created only one sub-domain, the first one (gitlab.example.com) with no subdomain registry.example.com
Then, to prove it, I check into container:
docker exec -it swag /bin/bash
It should create two certificates.
gitlab.example.com
and
registry.example.com
Already mentioned above
- OS:Ubuntu 20.04 (LTS) - How docker service was installed: yes, from its distro PM
x86-64
already mentioned above
already given screenshot above. Thankyou.
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Certbot creates one cert with multiple SANs
Is there an existing issue for this?
Current Behavior
Here my docker-compose.yaml
I run
docker compose up -d swag
anddocker logs -f swag
to get logs as belowThe log says that Certbot will create two subdomains namely: gitlab.example.com and registry.example.com
but actually it created only one sub-domain, the first one (gitlab.example.com) with no subdomain registry.example.com
Then, to prove it, I check into container:
docker exec -it swag /bin/bash
Expected Behavior
It should create two certificates.
and
Steps To Reproduce
Already mentioned above
Environment
CPU architecture
x86-64
Docker creation
Container logs