--- version: "2.1" services: mariadb: image: lscr.io/linuxserver/mariadb container_name: mariadb environment: - PUID=1000 - PGID=1000 - MYSQL_ROOT_PASSWORD=mariadbpassword - TZ=America/New_York - MYSQL_DATABASE=WP_database - MYSQL_USER=WP_dbuser - MYSQL_PASSWORD=WP_dbpassword volumes: - ./mariadb:/config restart: unless-stopped swag: image: lscr.io/linuxserver/swag container_name: swag cap_add: - NET_ADMIN environment: - PUID=1000 - PGID=1000 - TZ=America/New_York - URL=gosmst.com - SUBDOMAINS=wildcard - VALIDATION=dns - DNSPLUGIN=cloudflare - PROPAGATION=60 - STAGING=true volumes: - ./swag:/config ports: - 443:443 depends_on: - mariadb restart: unless-stopped