version: '3' services: app: # command: command container_name: v2 image: app:latest restart: always ports: - 3111-3222:3111-3222 networks: - local volumes: - ${DIR}:/etc/app - /etc/localtime:/etc/localtime:ro environment: APP_ADDRESS: 0.0.0.0:3111 networks: local: name: local external: true