version: '3' services: app: # command: command container_name: v2 image: app:latest restart: always ports: - 3111-3222:3111-3222 networks: - apps volumes: - ${DIR}:/etc/app - /etc/localtime:/etc/localtime:ro environment: APP_ADDRESS: 0.0.0.0:3111 depends_on: - app-d networks: app: driver: bridge