# Wordpress deployment failed

**URL:** <https://community.okteto.com/t/wordpress-deployment-failed/224>\
**Category:** Not sure?\
**Created:** [September 3, 2022, 10:25pm UTC](https://community.okteto.com/t/wordpress-deployment-failed/224 "2022-09-03T22:25:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gamesover](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/gamesover/32/150_2.png) [@gamesover](https://community.okteto.com/u/gamesover)\
**Post date:** [September 3, 2022, 10:25pm UTC](https://community.okteto.com/t/wordpress-deployment-failed/224/1 "2022-09-03T22:25:00Z")

</div>

I don’t know why the below docker-compose does not work in okteto.

It always shows

```auto
504 Gateway Time-out

---
nginx

```

However, it works great in my local computer.

```auto
version: "3.9"
services:
  wordpress:
    image: wordpress:latest
    ports:
      - 8080:80
    restart: always
    environment:
      - WORDPRESS_DB_HOST=1.2.3.4
      - WORDPRESS_DB_USER=root
      - WORDPRESS_DB_PASSWORD=root
      - WORDPRESS_DB_NAME=wordpress_learning_development
    volumes:
     - wp-data:/var/www/html

volumes:
  wp-data:

```

---

<div class="post-metadata">

**Author:** ![jLopezbarb](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/jlopezbarb/32/48_2.png) [@jLopezbarb](https://community.okteto.com/u/jLopezbarb)\
**Post date:** [September 5, 2022, 8:04am UTC](https://community.okteto.com/t/wordpress-deployment-failed/224/2 "2022-09-05T08:04:50Z")

</div>

Hi @gamesover, I have been able to deploy it without any issue.  
How are you trying to deploy it from the web UI or from the CLI? If it’s from the CLI which version do you have?
