networks: fba_network: external: true volumes: fba_static: external: true services: fba_ui: build: context: ../ dockerfile: Dockerfile image: fba_ui:latest ports: - "80:80" - "443:443" container_name: fba_ui restart: always command: - nginx - -g - daemon off; volumes: # nginx https conf # When deploying through docker, you need to open this configuration item and # ensure that the docker_ssl path is consistent with that in nginx conf # - local_ssl_pem_path:/etc/ssl/xxx.pem # - local_ssl_key_path:/etc/ssl/xxx.key - fba_static:/www/fba_server/backend/static networks: - fba_network