You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
899 B

version: "2.1"
services:
swag:
image: lscr.io/linuxserver/swag
container_name: swag
#CAP to bind to low ports
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
#UID and GID 1000 is usually the first regular linux user, you. Change accordingly if necessary
- TZ=America/New_York
- URL=base.domain.com
- SUBDOMAINS=
- VALIDATION=http
#- CERTPROVIDER= #optional
#- DNSPLUGIN=cloudflare #optional
#- DUCKDNSTOKEN=<token> #optional
- EMAIL=bruno@1nfo.services
- ONLY_SUBDOMAINS=false #optional
- EXTRA_DOMAINS=nextcloud.domain.com, collabora.nextcloud.domain.com, mail.domain.com
- STAGING=false #optional
volumes:
- ./config:/config
ports:
- 192.168.222.222:443:443
- 192.168.222.222:80:80
#change ip and ports relative to your own
restart: always