Some images not accessible. Newbie confused

I’m new so apologies up front. I have a docker image which is a Ruby on Rails based app and I can build and run this image locally in a docker container. When I run it locally, I access it by going to localhost:3000.

I want to add swag to provide https access to this app. Using what I judged the best choice for implementing it with DuckDNS using virtualbookingagent as the url, when I build the image with swag, I’m not seeing the app.

I can see the welcome to your swag instance screen when I go to https://virtualbookingagent.duckdns.org and it is secure (with the lock indicator showing closed) but I can’t access Wordpress or my app that way.

If I look at the logs on the RoR app, I see it waiting normally:

=> Booting Puma
=> Rails 6.1.7.6 application starting in development
=> Run `bin/rails server --help` for more startup options
Puma starting in single mode...
* Version 3.12.6 (ruby 3.0.6-p216), codename: Llamas in Pajamas
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://0.0.0.0:3000
Use Ctrl-C to stop

If I go to localhost:8080, I can see the Wordpress initialization page but I don’t see it at https://virtualbookingagent.duckdns.org:8080. I get a server error.

This is my docker-compose.yml file. Hopefully it’s something obvious. I feel like there are some basic things I am missing.

Thanks in advance for any assistance on this!

---
version: "2.1"
services:
  swag:
    image: lscr.io/linuxserver/swag
    container_name: swag
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=501
      - PGID=20
      - TZ=America/New_York
      - URL=virtualbookingagent.duckdns.org
      - VALIDATION=duckdns
      - DUCKDNSTOKEN=<my token>
    volumes:
      - ./swag:/config
    ports:
      - 443:443
      - 80:80
    restart: unless-stopped

  vba:
    image: mstoth/vba:mar24
    container_name: vba
    ports:
      - 3000:80

  wordpress:
    image: wordpress
    container_name: wordpress
    restart: always
    ports:
      - 8080:80
    environment:
      WORDPRESS_DB_HOST: db
      WORDPRESS_DB_USER: exampleuser
      WORDPRESS_DB_PASSWORD: examplepass
      WORDPRESS_DB_NAME: exampledb
    volumes:
      - wordpress:/var/www/html

  db:
    image: mysql:8.0
    restart: always
    environment:
      MYSQL_DATABASE: exampledb
      MYSQL_USER: exampleuser
      MYSQL_PASSWORD: examplepass
      MYSQL_RANDOM_ROOT_PASSWORD: '1'
    volumes:
      - db:/var/lib/mysql

volumes:
  wordpress:
  db:

  1. discord is a better place for support
  2. share the proxy conf you’re using in swag to reach wordpress… it looks like you’re trying to put in fqdn:8080, but that would defeat the purpose of the reverse proxy, you would access it at https://appname.yourdomain with no port

i’m not entirely clear on why the RoR bit is relevant though