version: "3" services: server: build: . image: microblogpub container_name: microblogpub user: 1000:1000 restart: always environment: APP_PORT: 8000 networks: - nproxy volumes: - ./data:/app/data - ./app/static:/app/app/static ports: - "8000:8000" networks: nproxy: external: name: nproxy