version: "3.0" networks: yopass: external: false services: memcached: image: memcached restart: always networks: - yopass expose: - "11211" yopass: image: jhaals/yopass restart: always command: "--memcached=memcached:11211 --port 80" networks: - yopass ports: - "8007:80" depends_on: - memcached